LM33
LM33
problems in software
Debugging
What is debugging?
2. Make it fail
No detail is insignificant
Intermittent failures?
Start at the bad end (e.g. the error log) and work
your way up the chain looking at the various
points on the way
Ask an expert:
●Email the author
●Check the forums
●Subscribe to the mailing list
Failfirst - Write a unit test that exposes the failure, correct the
code and make it pass
Saff Squeeze - Write a system test, inline code, write test, repeat
until fixed
http://www.threeriversinstitute.org/HitEmHighHitEmLow.html
Hit counts
●Code Review
●Defensive Programming
●Assertions
Further Resources
●Testing Education
- http://www.testingeducation.org/a/bugtax.pdf