carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_run_com.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<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 the location of the run configuration</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<h1>Specifying the location of the run configuration</h1>

<p>When you create a run configuration, it is saved with the extension <samp>.launch</samp> in <samp>org.eclipse.debug.core</samp>. 
You can specify an alternate location in which to store your run configuration. You can 
also specify how you access it and what 
perspective to open when running an application.</p>
<p>To specify the location of a run configuration:</p>

<ol>
  <li>In  the C/C++ Projects view, select a project.</li>
  <li>Click <b>Run &gt; Run</b> or <b>Run &gt; Debug</b>.</li>
  <li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>    
  <li>Click the <b>Common</b> tab.<br>
  	  <img src="../images/run_common.png"  alt="Run Common window">
  </li>
  <li>To save <samp> .launch</samp> to a project in your workspace, and to be able 
  to commit it to CVS, click <b>Shared</b>.</li>
  <li>In the <b>Folder Selection</b> window, select a project, and click <b>OK</b>.<br>
  	  <img src="../images/run_common_folder.png"  alt="Run Common Folder Selection window">
  </li>
    <li>To specify which perspective opens when you run, select a perspective 
    from the <b>Run mode</b> list.</li>
    <li>To specify which perspective opens when you run, select a perspective 
    from the <b>Debug mode</b> list.</li>  
  <li>Click <b>Run</b>, 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">Defining debug settings</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_config.htm">Selecting a run/debug configuration</a>.</li></ul>
    
  </ol>

<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
<p><img border="0" 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 border="0" 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" >

</body>

</html>