File: cdt_t_add_brkpnts.htm

package info (click to toggle)
eclipse-cdt 8.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 150,024 kB
  • ctags: 159,512
  • sloc: java: 1,087,138; xml: 54,281; ansic: 5,236; cpp: 5,123; makefile: 1,338; sh: 189; asm: 42; f90: 22
file content (51 lines) | stat: -rw-r--r-- 2,171 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!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>Adding breakpoints</title>
<link rel="stylesheet" type="text/css" href="../help.css">
<script language="JavaScript">
function changeSize(theImage,wd,ht) {
	wdth=parseInt(theImage.style.width); hght=parseInt(theImage.style.height);
	if ( !(wdth==(wd*2)) ) {wdth=wd*2; hght=ht*2;}
	else {wdth=wd;hght=ht;}
	theImage.style.width=wdth; theImage.style.height=hght;
}
</script>
</head>

<body>

<div role="main"><h1>Adding breakpoints</h1>

<p>A breakpoint is set on an executable line of a program. If the breakpoint is 
enabled when you debug, the execution suspends before that line of code 
executes.</p>

<p>To add a breakpoint point, double click the marker bar located in the left margin of the 
  <strong>C/C++ Editor</strong> beside the line of code where you want to add a breakpoint. A dot 
  <img alt="Icon: Breakpoint object" src="../images/icon_breakpoint_obj.gif" width="16" height="16"> is 
  displayed in the marker bar and in the <strong>Breakpoints</strong> view, along with the name of the associated file.</p>
  
<p><img src="../images/add_breakpoint.png" alt="Edit view with the cursor highlighting a breakpoint">  </p>
  
<p>For more information on marker bar icons, see <strong>Workbench User Guide &gt; 
Reference &gt; User interface information &gt; Icons and buttons &gt; Editor area 
marker bar</strong>.</p>
<p><img src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a><br>
</p>
<p><img src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="cdt_o_brkpnts_watch.htm">Using breakpoints and watchpoints</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>