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:

  1. In the Project Explorer view, select a project.
  2. Click Run > Run or Run > Debug.
  3. In the Configurations box, expand C/C++ Application.
  4. Select a run or debug configuration.
  5. Click the Arguments tab.
    Run Arguments window
  6. In the Program Arguments box, type the arguments that you want to pass to the command line.
  7. To specify a local directory or a different project in your workspace, clear the Use default working directory check box.
  8. Click Run or do the following, as required:

Related concepts
Projects
Project file views

Related tasks
Creating or editing a run configuration

Related reference
Run and Debug dialog box

IBM Copyright Statement