Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse C/C++ Developer Guide
Previous Page Home Next Page

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 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 Arguments tab.
    Run Arguments window
  6. In the C/C++ 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
CDT projects
Project file views

Related tasks
Creating or editing a run configuration

Related reference
Run and Debug dialog box

IBM Copyright Statement

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire