carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_run_source.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 source files</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
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
<h1>Specifying the location of source files</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
<p>You can specify the locations of source files used when debugging a C or C++ 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
application. By default, this information is taken from your project.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
<p>To specify the locations of source files:</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>Select a run or debug configuration.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
  <li>Click the <b>Source</b> tab.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
	<li>To add a source container to the source locations list:  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
	<ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
		<li>Click <b>Add</b> to open the <b>Add Source</b> dialog box</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
	    <li>Select a container type.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
    	<li>Select a container from the list of available containers of the selected type.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
    </ul>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
	<li>You can remove or modify a source container by selecting a container and clicking the <b>Remove</b> or <b>Edit</b> button.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
	<li>You can change the order of source containers by selecting a container and clicking 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
		the <b>Up</b> or <b>Down</b> buttons.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
	<li>To search for duplications in your source locations select the <b>Search for duplicate source files on the path</b> checkbox.</li>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
</ol>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
<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
    40
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
<a href="../concepts/cdt_c_projects.htm">CDT Projects</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
<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
    43
<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
    44
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
<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
    46
<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
    47
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
<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
    49
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
</html>