Debugging Tips
Trace you code “by hand”, keeping track of the value of each variable and comparing with actual behavior
use plenty of printf() statements
use assert()
Previous slide
Back to first slide
View graphic version