Module 7
Debugging strategies
A systematic approach to fixing errors.
Finding and fixing errors
When something goes wrong, follow these steps: read the error message, find the line it mentions, check for common mistakes, and test your fix.
Try it
1. Read the error message 2. Find the line number 3. Check spelling and punctuation 4. Check types and values 5. Test your fix
What is the first step when debugging?