core/com.nokia.carbide.cpp.doc.user/html/tasks/breakpoints/pgm_bp_temporary.htm
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--
BUG 10758 - copyright revised date to 2010

<!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>Setting a Temporary Breakpoint</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Setting a Temporary Breakpoint</h2>
<p>Use the Temporary Breakpoint command to set temporary breakpoints. Unlike a regular breakpoint that halts execution each time you debug a project, a temporary breakpoint halts execution only once. The debugger removes the temporary breakpoint after halting program execution. </p>
<div class="step">
  <h4>To set a temporary breakpoint at a line of source code</h4>
  <ol>
    <li>      <a href="pgm_bp_enable.htm">Set a breakpoint</a> on the source line</li>
    <li>      Right-click breakpoint and select Breakpoint Properties in the context menu</li>
		<p>The Properties for C/C++ breakpoint window appears (Figure 1).</p>
		<p align="center"><img src="images/wnd_breakpoint_properties.png" width="581" height="540" /></p>
		<p class="figure">Figure 1 Properties for C/C++ breakpoint window</p>
	<li>	  Enter the value &quot;1&quot; into the Ignore count field</li>
    <li>      Click OK  </li>
  </ol>
  <ul>
    <p>The dash icon changes to an active breakpoint icon. After you debug the project, the debugger halts program execution at the line that has the active breakpoint icon. After execution halts, the active breakpoint icon reverts to a dash icon.
    </p>
  </ul>
</div>
<h5>Related concepts</h5>
<ul>
  <li><a href="../../concepts/breakpoints.htm">Breakpoints</a></li>
  <li><a href="../../concepts/watchpoints.htm">Watchpoints</a></li>
</ul>
<h5>Related tasks</h5>
<ul>
  <li><a href="pgm_bp_enable.htm">Enabling 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 &copy; 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>