The following table shows how to work with C and C++ projects in the NetBeans IDE.

Create and
configure project
|
- Create a project using the best template
for your programming needs
- Add project
dependencies for libraries needed by your application.
- Configure the project. A project
is created with Debug and Release configurations. You can modify the settings for
these configurations and create additional configurations.
|
|

Build Project
|
- Choose Build > Build Main Project
or right-click any project and choose Build Project.
|
|

Run project
|
-
Choose Run > Run Main Project
or right-click any project and choose Run Project.
- Use the project properties if you want to deploy the project to another
location on your system or to a remote server.
|
|

Debug project
|
- Set breakpoints or watches in your code.
- Choose Run > Debug Main
Project or right-click any project and choose
Debug Project. You can also attach the debugger to a running process.
- Step through the program execution.
- Look at the call stack and examine local variables.
- Choose Run >
Finish Debugger Session when you are finished debugging.
|