2. Understand the System“It is not so impossible, however, that a man should possess all knowledge which is likely to beuseful to him in his work, and this, I have endeavored in my case to do”. – Sherlock HolmesRead the manualRemember Murphy’s LawKnow what is reasonableKnow the lay of the landKnow your tools o Choose the right tools o Use the tool correctly o Interpret the results correctly o Understand the limitations of your tools Debugging: 9 indispensable rules. 07/07/2011 Copyright (c) 2011 CA. All rights reserved.
3. Make it fail“There is nothing like first-hand evidence”. – Sherlock HolmesHow to make it fail? o Start at the beginning o No detail is insignificant o Stimulate the failure. Don’t simulate the failure o What if it’s intermittent? o What if it’s still intermittent?Why to make it fail? o Did you fix it, or Did you get lucky? o But “that” can’t happen! Debugging: 9 indispensable rules. 07/07/2011 Copyright (c) 2011 CA. All rights reserved.
4. Quit thinking and look“It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts tosuit theories , instead of theories to suit facts”. – Sherlock HolmesSee the failureMy eyes are open….Now what? o Design Instrumentation in o Build Instrumentation in laterThe Heisenberg uncertainty principleGuess, but look before you fix Debugging: 9 indispensable rules. 07/07/2011 Copyright (c) 2011 CA. All rights reserved.