Running and debugging the first time
You can use the same launch configuration to run or debug a program.
Running a program the first time
To run a program the first time
- In C/C++ Projects view (or Navigator view), select a project.
- On the Run menu, click Run. The Run dialog box opens.
- In the Configurations pane, select a launch configuration type.
Click New.
- Do the following
- In the Name field, enter a configuration description.
- In the Project field, enter the project name.
- In the C/C++ Application field, enter the executable name.
- Fill in the details in the various tabs.
Click Run.
Debugging a program the first time
To debug a program the first time
- In C/C++ Projects view (or Navigator view), select a project.
- On the Run menu, click Debug. The Debug dialog box opens.
- In the Configurations pane, select a launch configuration type.
Click New.
- Do the following
- In the Name field, enter a configuration description.
- In the Project field, enter the project name.
- In the C/C++ Application field, enter the executable name.
- Fill in the details in the various tabs.
Click Debug.