Chapter 2
Debugging an Application
In This Chapter
Working with debuggers
Using the Code::Blocks debugger
Tracing code flow through an application and in and out of functions
Using other debuggers
Getting seriously advanced debuggers
Adding command line arguments to Code::Blocks debugging
In this chapter, we talk about how you can use a debugger to track down problems and bugs in your application. Sooner or later, things don’t work the way you planned them. In this case, you have several plans of attack. One plan involves a hammer and the computer, but we don’t recommend that one. Instead, we suggest using a debugger to try to fix the application.
Programming with Debuggers
A debugger is a special tool that you use for tracing line by line through your application. (Tracing is the act of viewing the code execution flow in an application.) Take a look at the BuggyProgram example, shown ...
Get C++ All-in-One For Dummies, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.