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 codePause
To run your code againContinue
To end execution of your codeFinish 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