Cpts224logo

Home

Syllabus

Notes

Homework

Grades


Debugging -- Tools and Techniques


Debugging -- Tools and Techniques
        Bugs
        Good Clues, Easy Bugs
        No Clues, Hard Bugs
        Debuggers
        When all else fails
        Other people's bugs


Reading: Programming Pearls, Chapter 5: Debugging

Note: in the assert macro example, and the debug flags and TRACE examples we will see soon, NDEBUG is typically set in the Makefile as part of the CFLAGS variable.

Bugs

Good Clues, Easy Bugs

No Clues, Hard Bugs

Debuggers

When all else fails

Other people's bugs

Some more debugging help