<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Enabling Breakpoints</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Enabling Breakpoints</h2>
<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>
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.
<p align="center"><img src="images/breakpoints_marker_bar.png" width="582" height="230" alt="" /></p>
<p class="figure">Figure 1 - Enabling breakpoint</p>
<div class="step">
<h4>Enabling a Breakpoint</h4>
<ul>
<li>In the Breakpoints view, place a check in the checkbox next to the breakpoint</li>
</ul>
<blockquote>
<p>or</p>
</blockquote>
<ul>
<li>In an editor view, right-click the breakpoint in the marker bar and select Enable Breakpoint </li>
</ul>
<blockquote>
<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>
</blockquote>
</div>
<p>For more information on breakpoints, see <b>C/C++ Development User Guide > Concepts > Debug > Breakpoints</b>.</p>
<h5>Related concepts</h5>
<ul>
<li><a href="../../concepts/breakpoints.htm">Breakpoints</a></li>
</ul>
<h5>Related tasks</h5>
<ul>
<li><a href="pgm_bp_setting.htm">Setting Breakpoints</a></li>
<li><a href="pgm_bp_disable.htm">Disabling Breakpoints</a></li>
<li><a href="pgm_bp_clearing.htm">Removing Breakpoints</a></li>
</ul>
<h5>Related references </h5>
<ul>
<li><a href="../../reference/view_breakpoints.htm">Breakpoints view</a></li>
</ul>
<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>
</body>
</html>