4.9 Debugging the Code

For this tutorial, the code used has been tested and runs successfully. However, your own code may need to be debugged as you develop your application.

Click on the Debug Project icon

to begin a debug session. Debug progress will be visible in the Output window (see figure).

To halt your application code
To run your code again
To end execution of your code
Finish Debugger Session

For more on debugging C/C++ code projects, see also NetBeans Help:

Debugging C/C++ Projects Tutorial

Figure 4-10. Ouptut Window - Code Running in Debug Mode