carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_add_brkpnts.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>Adding breakpoints</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
<script language="JavaScript">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
function changeSize(theImage,wd,ht) {
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
	wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
	if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
	else {wdth=wd;hght=ht;}
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
	theImage.style.width=wdth; theImage.style.height=hght;
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
}
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
</script>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
<body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
<h1>Adding breakpoints</h1>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
<p>A breakpoint is set on an executable line of a program. If the breakpoint is 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
enabled when you debug, the execution suspends before that line of code 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
executes.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
<p>To add a breakpoint point, double click the marker bar located in the left margin of the 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
  <b>C/C++ Editor</b> beside the line of code where you want to add a breakpoint. A dot 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
  <img alt="Icon: Breakpoint object" src="../images/icon_breakpoint_obj.gif" width="16" height="16"> is 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
  displayed in the marker bar and in the <b>Breakpoints</b> view, along with the name of the associated file.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
<p><img src="../images/add_breakpoint.png" alt="Edit view with the cursor highlighting a breakpoint">  </p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
<p>For more information on marker bar icons, see <b>Workbench User Guide &gt; 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
Reference &gt; User interface information &gt; Icons and buttons &gt; Editor area 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
marker bar</b>.</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
<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
    38
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a><br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
</p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
<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
    42
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
<a href="cdt_o_brkpnts_watch.htm">Using breakpoints and watchpoints</a></p>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
<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
    45
<br>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
<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
    47
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" > 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
</html>