1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00
cdt/debug/org.eclipse.cdt.debug.application.doc/tasks/cdt_t_run_arg.htm
Jeff Johnston 6acb6dbc70 Add CDT Standalone Debugger
- add org.eclipse.cdt.debug.application plugin which supports running
  CDT debugger as Eclipse application
- add org.eclipse.cdt.debug.application.docs plugin which is the
modified
  CDT docs
- add org.eclipse.cdt.debug.standalone-feature which bundles the
  two aforementioned plugins
- add org.eclipse.cdt.debug.standlone.source-feature

Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13
Reviewed-on: https://git.eclipse.org/r/25845
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-05 15:39:30 -04:00

61 lines
No EOL
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Specifying execution arguments</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<div role="main"><h1>Specifying execution arguments</h1>
<p>You can specify the execution arguments that an application uses and the working directory
for a run configuration.</p>
<p>To specify execution arguments:</p>
<ol>
<li>In the C/C++ Projects view, select a project.</li>
<li>Click <strong>Run &gt; Run</strong> or <strong>Run &gt; Debug</strong>.</li>
<li>In the <strong>Configurations</strong> box, expand <strong>C/C++ Local</strong>.</li>
<li>Select a run or debug configuration.</li>
<li>Click the <strong>Arguments</strong> tab.<br>
<img src="../images/run_arguments.png" alt="Run Arguments window">
</li>
<li>In the <strong>C/C++ Program Arguments</strong> box, type the arguments that you
want to pass to the command line.</li>
<li>To specify a local directory or a different project in your workspace,
clear the <strong>Use default working directory</strong> check box.</li>
<li>Click <strong>Run</strong> or do the following, as required:<ul><li>To set the environment variables
and values to use when an application runs, see <a href="cdt_t_run_env.htm">
Setting environment variables</a></li>
<li>To select a debugger to use when debugging an application, see
<a href="cdt_t_run_dbg.htm">Creating a run configuration</a></li>
<li>To specify the location of source files used when debugging a C or C++
application, see <a href="cdt_t_run_source.htm">Specifying the location of
source files</a></li>
<li>To specify where the run configuration is stored, how you access it and
the perspective to open when running an application, see
<a href="cdt_t_run_com.htm">Specifying the location of the run configuration</a></li></ul>
</ol>
<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_projects.htm">C/C++ projects</a><br>
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="cdt_o_run_config.htm">Creating or editing a run configuration</a></p>
<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
</div></body>
</html>