Chapter 28: Debugging
Abstract
If despite careful design and extensive unit testing your program still aborts or gives incorrect results, you need to resort to debugging. In this section you will see the gdb debugger in action: it allows you to step through your code, and print out variables along the way.
Fields of Study & Subjects
Software Testing and Debugging Techniques
Teaching and Learning Programming
Logic
programming
and type systems
Publication details
- Journal / source
- Society for Industrial and Applied Mathematics eBooks
- Pages
- 275–281
- Publication date
- 19 January 2026
- Language
- EN
- Document type
- Book chapter