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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
<title>Specifying the location of the run configuration</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
<link rel="stylesheet" type="text/css" href="../help.css">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
<h1>Specifying the location of the run configuration</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<p>When you create a run configuration, it is saved with the extension <samp>.launch</samp> in <samp>org.eclipse.debug.core</samp>. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
You can specify an alternate location in which to store your run configuration. You can 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
also specify how you access it and what 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
perspective to open when running an application.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
<p>To specify the location of a run configuration:</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
<ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
  <li>In  the C/C++ Projects view, select a project.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
  <li>Click <b>Run &gt; Run</b> or <b>Run &gt; Debug</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
  <li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
  <li>Click the <b>Common</b> tab.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
  	  <img src="../images/run_common.png"  alt="Run Common window">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
  <li>To save <samp> .launch</samp> to a project in your workspace, and to be able 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
  to commit it to CVS, click <b>Shared</b>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
  <li>In the <b>Folder Selection</b> window, select a project, and click <b>OK</b>.<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
  	  <img src="../images/run_common_folder.png"  alt="Run Common Folder Selection window">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
  </li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
    <li>To specify which perspective opens when you run, select a perspective 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
    from the <b>Run mode</b> list.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
    <li>To specify which perspective opens when you run, select a perspective 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
    from the <b>Debug mode</b> list.</li>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
  <li>Click <b>Run</b>, or do the following, as required:<ul><li>To set the environment variables 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
    and values to use when an application runs, see <a href="cdt_t_run_env.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
    Setting environment variables</a>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
  <li>To select a debugger to use when debugging an application, see
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
  <a href="cdt_t_run_dbg.htm">Defining debug settings</a>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
  <li>To specify the location of source files used when debugging a C or C++ 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
  application, see <a href="cdt_t_run_source.htm">Specifying the location of 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
  source files</a>.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
  <li>To specify where the run configuration is stored, how you access it, and 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
  the perspective to open when running an application, see
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
  <a href="cdt_t_run_config.htm">Selecting a run/debug configuration</a>.</li></ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
  </ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
<a href="../concepts/cdt_c_proj_file_views.htm">Project file views</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
<a href="cdt_o_run_config.htm">Creating or editing a run configuration</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
<a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
</html>