tutorial 1: debugging tips
watch it on YouTube
Notes
- test your code often
- comment out lines to identify where problems occur
- check your syntax and punctuation in malfunctioning lines
- track intermediate values of variables
- practice new skills or parts of an algorithm in a stand-alone file
before integrating them into a complex program