On 2010-12-14, Richard Harter <> wrote:
> Be that as it may, I agree that debuggers are valuable for rumaging
> through core dumps. The question I had in mind is more like this. If
> you are working with instrumented code that generates substantial
> error reports on failures when does a debugger offer significant
> advantage?
Usually in things like looking at what contents something has before
it's supposed to be initialized.
I guess... My rough experience is:
* Logic errors are fastest-fixed by good logging and studying logs.
* Pure-code-errors are fastest-fixed by a debugger.
The distinction I'm making is between "we initialized this, but we did
the initializations in the wrong order" and "we only partially initialized
this, and one field was still being set to stack garbage". Stack garbage
type problems, buffer overruns, and the like, I tend to find easier to
spot with a debugger. Pure logic flaws, by contrast, I tend to find easier
to spot with good logging.
-s
--
Copyright 2010, all wrongs reversed. Peter Seebach /
usenet-
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.