|
Re: [plt-scheme] debugging [mini rant]: msg#00556plt-scheme
On Jul 29, Mike Eggleston wrote: > > Yes, much, and preferable in a production environment when you're > trying to figure out why something is not right. Any change you make > to the code must be tested again, so if you can run the code through > a debugger without changes is best. If you make a change to add > printf()s then you can't say for certain if your printf() caused the > error or if you've found the reported error. This point is bogus. I personally had one occasion where I had spent about 14 hours chasing a problem that we discovered in a release mode build of our product. It was there for about a week before that (and it was the segfaulting kind of a problem), yet we didn't know about it because it didn't happen in debug mode. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-scheme
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |