Introduction
Out bugs
()
Required tools
()
1. Bugs in Your Code
Understanding bugs
()
Catching bugs
()
Debugging your code manually
()
Reviewing ten common coding problems
()
Challenge: Where is the error?
()
Solution: Where is the error?
()
2. IDE Debugging
Building a debug project
()
Stepping through your code
()
Examining variables and memory
()
Challenge: Find the bug
()
Solution: Find the bug
()
3. The GNU Debugger
Compiling code for debugging
()
Setting breakpoints
()
Dumping memory
()
Challenge: Fix the code
()
Solution: Fix the code
()
Ex_Files_Debugging_C_Code.zip
(1.0 MB)