core/com.nokia.carbide.cpp.doc.user/html/tasks/breakpoints/pgm_bp_disable.htm
author dan.podwall@nokia.com
Mon, 06 Apr 2009 14:56:28 -0500
changeset 56 887bd61e1328
parent 2 d760517a8095
child 1225 a546534a48de
permissions -rw-r--r--
merge from RCL_2_0 to default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
cawthron
parents:
diff changeset
     2
<html>
cawthron
parents:
diff changeset
     3
<head>
cawthron
parents:
diff changeset
     4
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
cawthron
parents:
diff changeset
     5
<meta http-equiv="Content-Style-Type" content="text/css" />
cawthron
parents:
diff changeset
     6
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
cawthron
parents:
diff changeset
     7
<title>Disabling Breakpoints</title>
cawthron
parents:
diff changeset
     8
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
cawthron
parents:
diff changeset
     9
</head>
cawthron
parents:
diff changeset
    10
<body bgcolor="#FFFFFF">
cawthron
parents:
diff changeset
    11
<h2>Disabling Breakpoints</h2>
cawthron
parents:
diff changeset
    12
<p>Disable a breakpoint to prevent it from affecting program execution. The disabled breakpoint remains at the source-code line at which you set it, so that you can enable it later. Disabling the breakpoint is easier than clearing it and re-creating it from scratch.</p>
cawthron
parents:
diff changeset
    13
<p>Figure 1 shows some source code and the selected line shows the breakpoint icon that appears in the marker bar when a breakpoint is disabled.</p>
cawthron
parents:
diff changeset
    14
<p align="center"><img src="images/breakpoints_marker_bar_disabled.png" width="587" height="234" /></p>
cawthron
parents:
diff changeset
    15
<p class="figure">Figure 1 - Disabling breakpoints</p>
cawthron
parents:
diff changeset
    16
<div class="step">
cawthron
parents:
diff changeset
    17
  <h4>Disabling a Breakpoint</h4>
cawthron
parents:
diff changeset
    18
  <ul>
cawthron
parents:
diff changeset
    19
    <li>In the Breakpoints view, uncheck  the checkbox next to the breakpoint</li>
cawthron
parents:
diff changeset
    20
  </ul>
cawthron
parents:
diff changeset
    21
  <blockquote>
cawthron
parents:
diff changeset
    22
    <p>or</p>
cawthron
parents:
diff changeset
    23
  </blockquote>
cawthron
parents:
diff changeset
    24
  <ul>
cawthron
parents:
diff changeset
    25
    <li>In an editor or Disassembly view, right-click the breakpoint in the marker bar and select Disable Breakpoint </li>
cawthron
parents:
diff changeset
    26
  </ul>
cawthron
parents:
diff changeset
    27
  <ul><p>The enabled breakpoint dot (<img src="../../images/icons/breakpoints_enabled_icon.png" width="15" height="12" />) changes to a disabled breakpoint dot (<img src="../../images/icons/breakpoints_disabled_icon.png" width="15" height="12" />). The disabled breakpoint dot indicates that the breakpoint does not halt program execution.</p>
cawthron
parents:
diff changeset
    28
    </ul>
cawthron
parents:
diff changeset
    29
</div>
cawthron
parents:
diff changeset
    30
<p>For more information on breakpoints, see <b>C/C++ Development User Guide &gt; Concepts &gt; Debug &gt; Breakpoints</b>.</p>
cawthron
parents:
diff changeset
    31
  <h5>Related concepts</h5>
cawthron
parents:
diff changeset
    32
  <ul>
cawthron
parents:
diff changeset
    33
    <li><a href="../../concepts/breakpoints.htm">Breakpoints</a></li>
cawthron
parents:
diff changeset
    34
  </ul>
cawthron
parents:
diff changeset
    35
  <h5>Related tasks</h5>
cawthron
parents:
diff changeset
    36
  <ul>
cawthron
parents:
diff changeset
    37
    <li><a href="pgm_bp_setting.htm">Setting Breakpoints</a></li>
cawthron
parents:
diff changeset
    38
    <li><a href="pgm_bp_enable.htm">Enabling Breakpoints</a></li>
cawthron
parents:
diff changeset
    39
    <li><a href="pgm_bp_clearing.htm">Removing Breakpoints</a></li>
cawthron
parents:
diff changeset
    40
  </ul>
cawthron
parents:
diff changeset
    41
  <h5>Related references </h5>
cawthron
parents:
diff changeset
    42
  <ul>
cawthron
parents:
diff changeset
    43
    <li><a href="../../reference/view_breakpoints.htm">Breakpoints view</a></li>
cawthron
parents:
diff changeset
    44
  </ul>
cawthron
parents:
diff changeset
    45
  <div id="footer">Copyright &copy; 2009 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>
cawthron
parents:
diff changeset
    46
cawthron
parents:
diff changeset
    47
</body>
cawthron
parents:
diff changeset
    48
</html>