Specifying execution arguments
You can specify the execution arguments that an application uses and the working directory for a run configuration.
To specify execution arguments:
- In the C/C++ Projects view, select a project.
- Click Run > Run or Run > Debug.
- In the Configurations box, expand C/C++ Local.
- Select a run or debug configuration.
- Click the Arguments tab.
- In the C/C++ Program Arguments box, type the arguments that you want to pass to the command line.
- To specify a local directory or a different project in your workspace, clear the Use default working directory check box.
- Click Run or do the following, as required:
- To set the environment variables and values to use when an application runs, see Setting environment variables
- To select a debugger to use when debugging an application, see Creating a run configuration
- 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
Creating or editing a run configuration
