Published by nick on 25 Apr 2008 at 11:35 am
Debugging rules
My co-worker, Artur Bergman, gave a talk today at the Web 2.0 Expo.
He highlighted these rules of debugging, and they were great, so I wanted to share.
- Understand the system
- Make it fail
- Quit thinking and look
- Divide and conquer
- Change one thing at a time
- Keep an audit trail
- Check the plug
- Get a fresh view
- If you didn’t fix it, it ain’t fixed.
Brilliant! See http://www.debuggingrules.com/

Joe Arnold on 27 Apr 2008 at 9:19 pm #
Where’s write a test?
Dave Agans on 29 Apr 2008 at 2:07 pm #
Writing a test is one of the techniques covered under Make It Fail. Writing a test that Makes It Fail repeatedly not only allows you to see the failure more easily as it occurs, but also allows you to prove you’ve fixed the bug after you think you have.
I’d check out the book, it covers all this and more, and it’s a quick, fun read. But, I’m biased, I wrote it.
The website listed above has reviews and a link to Amazon. It’s less than $17.