Strategies for debugging

Strategies for debugging#

Learning Objectives#

After working through this topic, you should be able to:

  • List Agans’ seven rules for debugging

  • Explain the importance of using the scientific method for debugging

  • Create a test case that makes your code fail and simplify it iteratively

Materials#

Here is the screencast. These are the slides.

Quiz#