author | fturovic <frank.turovich@nokia.com> |
Fri, 16 Apr 2010 09:51:37 -0500 | |
branch | RCL_2_4 |
changeset 1225 | a546534a48de |
parent 0 | fb279309251b |
child 1791 | 727385d8e2b3 |
permissions | -rw-r--r-- |
1225
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
2 |
<html> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
3 |
<head> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
5 |
<meta http-equiv="Content-Style-Type" content="text/css" /> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
6 |
<meta name="LASTUPDATED" content="06/17/05 11:09:43" /> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
7 |
<title>Setting Breakpoints</title> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
8 |
<link rel="StyleSheet" href="../../../book.css" type="text/css"/> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
9 |
</head> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
10 |
<body bgcolor="#FFFFFF"> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
11 |
<h2>Setting Breakpoints</h2> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
12 |
<p>Use the <b>Set Breakpoint</b> command (<span class="code">Ctrl+Shift+B</span>) to set a breakpoint. A regular breakpoint suspends program execution. The debugger executes the line of source code that contains the regular breakpoint.</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
13 |
<p class="note"><strong>TIP</strong> If you find that a breakpoint is not being hit, verify that the EXE or DLL is listed in the <a href="../../reference/view_executables.htm">Executables</a> view. </p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
14 |
<p class="note"><strong>TIP</strong> If debugging a server launched by a client, you must attach to the server process using the <a href="../../reference/view_symbian_kernel.htm">Symbian OS Data</a> view in order to hit the breakpoints in the server. Alternately, you can launch the server and client as two independent EXEs using the same COM port and debug them that way. </p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
15 |
<p>Figure 1 shows some source code and the marker bar to the left of the source code. The selected line shows the breakpoint dot that appears in the marker bar when a breakpoint is set.</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
16 |
<p align="center"><img src="images/breakpoints_marker_bar.png" width="582" height="230" /></p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
17 |
<p class="figure">Figure 1 - Setting Breakpoints in an editor view </p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
18 |
<div class="step"> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
19 |
<h4>Setting a Breakpoint in Editor or Disassembly Views</h4> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
20 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
21 |
<li>Double-click the marker bar to the left of the line of code where you want to place a breakpoint </li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
22 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
23 |
<blockquote> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
24 |
<p>or</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
25 |
</blockquote> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
26 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
27 |
<li>Right-click in the marker bar and select Toggle Breakpoint</li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
28 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
29 |
<blockquote> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
30 |
<p>or</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
31 |
</blockquote> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
32 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
33 |
<li>Click on the line of code and select Run > Toggle Breakpoint from the program menu bar </li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
34 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
35 |
<blockquote> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
36 |
<p>or</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
37 |
</blockquote> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
38 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
39 |
<li>While selecting a line, press Ctrl+Shift+B </li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
40 |
<p>The active breakpoint dot appears (<img src="images/breakpoints_enabled_icon.png" width="9" height="10" />) in the marker bar. If the breakpoint is <a href="../../concepts/breakpoints.htm">resolved</a> during the debug session, the debugger halts program execution at the line with the resolved breakpoint (<img src="../../images/icons/breakpoints_enabled_icon.png" width="15" height="12" />).</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
41 |
<p class="note"><span class="note"><b>NOTE</b> Setting a breakpoint in a file affects execution of all build targets that include that file.</span></p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
42 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
43 |
</div> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
44 |
<p>For more information on breakpoints, see <b>C/C++ Development User Guide > Concepts > Debug > Breakpoints</b>.</p> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
45 |
<h5>Related concepts</h5> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
46 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
47 |
<li><a href="../../concepts/breakpoints.htm">Breakpoints</a></li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
48 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
49 |
<h5>Related tasks</h5> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
50 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
51 |
<li><a href="pgm_bp_enable.htm">Enabling Breakpoints</a></li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
52 |
<li><a href="pgm_bp_disable.htm">Disabling Breakpoints</a></li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
53 |
<li><a href="pgm_bp_clearing.htm">Removing Breakpoints</a></li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
54 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
55 |
<h5>Related references </h5> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
56 |
<ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
57 |
<li><a href="../../reference/view_breakpoints.htm">Breakpoints view</a></li> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
58 |
</ul> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
59 |
<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> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
60 |
|
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
61 |
</body> |
a546534a48de
minor edits to remote conn pages, updated copyrights, fixed some broken links
fturovic <frank.turovich@nokia.com>
parents:
0
diff
changeset
|
62 |
</html> |