James Bewley wrote:
> Out of interest, how do you go about debugging without a debugger?

The Linus Torvalds way: by reading the code and observing its behaviour.
Changing the inputs and adding print statements are good too.

I've never felt the need to use Perl's debugger because it's so easy
to slip in a few print statements here and there.

I do use GDB with C code occasionally.

But typically I find big programs can't be monitored in a debugger
anyway, because they're doing so many things in parallel in a live
system.  What helps is good tracing and logging, but then you need to
be able to interpret logs and deduce what's wrong from that.  Same
skills as debugging small programs without a debugger.

-- Jamie
_______________________________________________
BristolBathPM mailing list
[email protected]
http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm

Reply via email to