# Defining debug settings

Select a debugger to use when debugging an application.

To select a debugger:

1. In the C/C++ Projects view, select a project.
2. Click Run > Run or Run > Debug.
3. In the Configurations box, expand C/C++ Local.
4. Select a run or debug configuration.
5. Click the Debugger tab..
6. Select a debugger from the Debugger list.
7. To let your program run until you interrupt it manually, or until it hits a breakpoint, clear the Stop at main() on startup check box .
8. Specify debug options in the Debugger Options box.
9. Click Run or do the following, as required:
   - To specify the execution arguments that an application uses and the working directory for a run configuration, see Specifying execution arguments.
   - To set the environment variables and the values to use when an application runs, see Setting environment variables
   - To specify the location of source files used when debugging a C or C++ application, see Specifying the location of source files
   - To specify where the run configuration is stored, how you access it, and the perspective to open when running an application, see Specifying the location of the run configuration

C/C++ Projects
Project file views
Debug overview
Debug information

Creating or editing a run configuration

Run and Debug dialog box