About Debugging C and C++ Applications

See Also 

Debugging is the process of examining your application for errors. The process of debugging is accomplished by setting breakpoints and watches in your code and running it in the debugger. Debugging enables you to execute your code one line at a time and examine the state of your application in order to discover any problems.

The IDE uses the debugger in your project's associated tool collection to debug your application.

If the tools required to build and debug the project are not in the tool collection specified for the project, the Options window opens with the Build Tools tab indicating which tools are missing. Resolve the missing tools and click OK.

If you are running a C/C++ project from existing sources and you did not specify a build result when you created the project, the Select Executable dialog box opens so that you can select the executable to run.

See Also
Working With Debugging
C and C++ Debugging Tasks: Quick Reference
Setting a C or C++ Breakpoint
Starting a C or C++ Debugging Session

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.