next up previous
Next: Producing debug-output Up: Debugging a compiled Previous: Careful design

Careful reading

When done carefully, reading source can be extremely useful when debugging. This should not be done on a terminal, but on plain paper with no terminal in sight. Debugging on paper gives a better overview of the program and forces you to think about what really happens in a piece of code instead of 'let's try if this will work'.



SE Praktikum
Tue Aug 13 11:13:23 MET DST 1996