With this video, we start our discussion of the debugger by example of gdb(1). First, we illustrate just why exactly we might want to use a separate tool instead of sprinkling "printf" statements all over our code...

Slides for this lecture: https://stevens.netmeister.org/631/05-gdb.pdf
Code examples: https://stevens.netmeister.org/631/gdb-examples/
Course website: https://stevens.netmeister.org/631/