author | fturovic <frank.turovich@nokia.com> |
Thu, 20 May 2010 10:32:00 -0500 | |
changeset 1376 | 120480c02651 |
parent 0 | fb279309251b |
child 1791 | 727385d8e2b3 |
permissions | -rw-r--r-- |
1376
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
2 |
<html> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
3 |
<head> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
5 |
<meta http-equiv="Content-Style-Type" content="text/css" /> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
6 |
<meta name="LASTUPDATED" content="06/17/05 11:09:43" /> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
7 |
<title>Enabling Breakpoints</title> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
8 |
<link rel="StyleSheet" href="../../../book.css" type="text/css"/> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
9 |
</head> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
10 |
<body bgcolor="#FFFFFF"> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
11 |
<h2>Enabling Breakpoints</h2> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
12 |
<p>Enable a breakpoint to have it halt program execution at the specific line in the source file. You can set a breakpoint using the <a href="../../reference/view_breakpoints.htm">Breakpoints</a>, <a href="../../reference/view_disassembly.htm">Disassembly</a>, or editor views. An enabled breakpoint must still be <a href="../../concepts/breakpoints.htm">resolved</a> during a debug session before it can halt program execution. Enabling a breakpoint that you previously disabled is easier than clearing it and re-creating it from scratch. </p> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
13 |
Figure 1 shows some source code and the selected line shows the breakpoint icon that appears in the marker bar when a breakpoint is enabled. |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
14 |
<p align="center"><img src="images/breakpoints_marker_bar.png" width="582" height="230" alt="" /></p> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
15 |
<p class="figure">Figure 1 - Enabling breakpoint</p> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
16 |
<div class="step"> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
17 |
<h4>Enabling a Breakpoint</h4> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
18 |
<ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
19 |
<li>In the Breakpoints view, place a check in the checkbox next to the breakpoint</li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
20 |
</ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
21 |
<blockquote> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
22 |
<p>or</p> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
23 |
</blockquote> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
24 |
<ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
25 |
<li>In an editor view, right-click the breakpoint in the marker bar and select Enable Breakpoint </li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
26 |
</ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
27 |
<blockquote> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
28 |
<p>If the source line has a breakpoint, the disabled breakpoint dot (<img src="images/breakpoints_disabled_icon.png" width="12" height="11" alt="" />) changes to an enabled breakpoint dot (<img src="images/breakpoints_enabled_icon.png" width="9" height="10" alt="" />). The enabled breakpoint indicates that the breakpoint, if resolved, will halt program execution.</p> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
29 |
</blockquote> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
30 |
</div> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
31 |
<p>For more information on breakpoints, see <b>C/C++ Development User Guide > Concepts > Debug > Breakpoints</b>.</p> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
32 |
<h5>Related concepts</h5> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
33 |
<ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
34 |
<li><a href="../../concepts/breakpoints.htm">Breakpoints</a></li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
35 |
</ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
36 |
<h5>Related tasks</h5> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
37 |
<ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
38 |
<li><a href="pgm_bp_setting.htm">Setting Breakpoints</a></li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
39 |
<li><a href="pgm_bp_disable.htm">Disabling Breakpoints</a></li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
40 |
<li><a href="pgm_bp_clearing.htm">Removing Breakpoints</a></li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
41 |
</ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
42 |
<h5>Related references </h5> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
43 |
<ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
44 |
<li><a href="../../reference/view_breakpoints.htm">Breakpoints view</a></li> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
45 |
</ul> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
46 |
<div id="footer">Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
47 |
|
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
48 |
</body> |
120480c02651
BUG 10758 - copyright revised date to 2010
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
49 |
</html> |