SlideShare a Scribd company logo
The 9 rules of debugging
THE 9
INDISPENSABLE
DEBUGGING RULES
THOMAS PIERRAIN DAVE AGANS
UNDERSTAND THE SYSTEM
1.
“This is the first rule because it's the most important. Understand?”
UNDERSTAND THE SYSTEM
1.
2.
“It seems easy, but if you don't do it, debugging is hard.”
2.
3.
“You can think up thousands of possible reasons for a failure.
You can see only the actual cause.”
3.
4.
“It's hard for a bug to keep hiding when its hiding place keeps getting cut in half.”
4.
5.
“You need some predictability in your life.
Remove the changes that didn't do what you expected.
They probably did something you didn't expect.”
5.
6.
“Better yet, don't remember ‘Keep an Audit Trail’ Write down ‘Keep an Audit Trail ’ ”
6.
7.
“Obvious assumptions are often wrong.
And to rub it in, assumption bugs are usually the easiest to fix.”
7.
8.
“You need to take a break and get some coffee, anyway.”
8.
9.
“And now that you have all these techniques, there's no excuse for leaving it unfixed.”
9.
The 9 rules of debugging
9
The 9 rules of debugging
The 9 rules of debugging

More Related Content

The 9 rules of debugging