On Fri, Dec 21, 2007 at 12:06:54PM -0800, Gus Wirth wrote:

Many C developers don't really use debuggers.  I know for myself it's been
many months since I've run one.  Even when I do, it's usually to set a
write breakpoint to figure out who's [EMAIL PROTECTED] code is stepping on my 
memory.

Maybe that's why C code is so buggy?

I'd be more inclined to blame the language than the debuggers.  Debuggers
don't keep you from having code with bugs, that's what good code and tests
are for.  The debugger is for _fixing_ the bugs.

I've see way to often an almost shotgun approach to problem solving.
Instead of stepping back to think about, understand the problem, and come
up with a correct solution; some people just start throwing things at it in
the debugger until it appears to work.  At least it works for the test
cases they've thought of.

Fortunately, none of these people are on my team any longer.

Dave

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to