wrote:
> OTOH, you've claimed that such an approach is impossible or silly, and
> accused some people who claim to use that approach of being liars.
> Just because you don't like that way of coding, is no reason to
> dismiss it.
I am not dismissing it. What I just do not believe are the wild
claims being done here like Mr Heathfield saying he can debug
code over the phone without seeing it, or the others with their
stories of debugging with "just reading the code", etc.
But obviously I can debug code by reading it, and I do read
my code (and other people's ) very often. And, at the end
OBVIOUSLY the debugger can show you the source code but will
NOT tell you "the bug is in line 42"!
*YOU* have to find it,and you will find it by reading what the
debugger shows you. So I can't be against reading code.
The "super hero" stories however, I leave them to my son
(and daughter) that read a lot of comics.
Obviously reading code is a good method, as are code reviews,
and many other techniques.
But let's face it, a debugger is a real time saver. And if
you work in embedded realm, I have devloped debuggers for
very small chips (as I wrote in my previous post in this subject),
and as soon as my debugger was up and running, the programmers
immediately loved it, and it was considered *the* most important
piece of the development environment.
The theory behind it (read that article of Hanson, it is a good
read) it is very simple and can be used anywhere: a small monitor
that will allow to read selectively memory and register values
from the circuit being developed.
A serial line is all is needed!
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32