Guidelines For Debugging
There is no recipe for successful debugging because every situation is different … but there are guidelines
1. Verify that the error is reproducible, i.e. make it happen again
- “Transient errors” can occur
- The error may have been caused by a state or configuration that was unknowingly set … get a “clean” instance of the bug
-
- When reproducing the error, try to formulate a “minimal” version of the system or program with the bug