O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

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

Debugger

One of the advantages of an IDE is the integrated debugger. A debugger allows the programmer to follow the code as it executes, in order to spot where there might be an error. Programmers make mistakes, and the nature of computer code is such that sometimes the mistake is not immediately obvious from looking at the static source code.

Debuggers exist for standalone tools, some of them very powerful, but beginner programmers will benefit, in large projects, from an IDE-based debugger. For learning purposes, a debugger is not a real benefit, because the programs aren’t long or complex enough to benefit from one.

There are also some tricks I’ll cover that show you how to debug without a debugger, but keep in mind that more complex programs ...

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