O'Reilly logo

C++ All-in-One For Dummies, 3rd Edition by John Paul Mueller, Jeff Cogswell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2

Debugging an Application

In This Chapter

arrow Working with debuggers

arrow Using the Code::Blocks debugger

arrow Tracing code flow through an application and in and out of functions

arrow Using other debuggers

arrow Getting seriously advanced debuggers

arrow 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required