Get an in-depth look at how to find and fix bugs in your C code. Learn how to spot common problems that lead to bugs, use an IDE debugger, work with the GNU Debugger, and more.
Overview
Syllabus
Introduction
- Out bugs
- Required tools
- Understanding bugs
- Catching bugs
- Debugging your code manually
- Reviewing ten common coding problems
- Challenge: Where is the error?
- Solution: Where is the error?
- Building a debug project
- Stepping through your code
- Examining variables and memory
- Challenge: Find the bug
- Solution: Find the bug
- Compiling code for debugging
- Setting breakpoints
- Dumping memory
- Challenge: Fix the code
- Solution: Fix the code
Taught by
Dan Gookin