Put It in Action

  • Make sure to do the following:

    • Work out why the software is behaving unexpectedly.

    • Fix the problem.

    • Avoid breaking anything else.

    • Maintain or improve overall quality.

    • Ensure that the same problem does not occur elsewhere and cannot occur again.

  • Leverage your software’s ability to show you what’s happening.

  • Work on only one problem at a time.

  • Make sure that you know exactly what you’re looking for:

    • What is happening?

    • What should be happening?

  • Check simple things first.

Footnotes

[1]

“The use by guess or cookbook of an obscure or hairy system, feature, or algorithm that one does not truly understand. The implication is that the technique may not work, and if it doesn’t, one will never know why.” Taken ...

Get Debug It! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.