7 <title>Enabling, Disabling and Removing Breakpoints</title> |
7 <title>Enabling, Disabling and Removing Breakpoints</title> |
8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/> |
8 <link rel="StyleSheet" href="../../../book.css" type="text/css"/> |
9 </head> |
9 </head> |
10 <body bgcolor="#FFFFFF"> |
10 <body bgcolor="#FFFFFF"> |
11 <h2> Enabling, Disabling and Removing Breakpoints </h2> |
11 <h2> Enabling, Disabling and Removing Breakpoints </h2> |
12 <p>Use the <b>Toggle Breakpoint</b> command (<span class="code">Ctrl+Shift+B</span>) to set a regular breakpoint in an <a href="PLUGINS_ROOT/org.eclipse.cdt.doc.user/reference/cdt_u_editor_view.htm">Editor</a> or <a href="../../reference/view_disassembly.htm">Disassembly</a> view. Only a single breakpoint can exist on a source code line. A regular breakpoint suspends program execution when it is hit, or executed, during a debug session. The debugger executes the line of source code that contains the regular breakpoint, then opens the <a href="../../reference/perspective_debug.htm">Debug</a> perspective to allow examination and modification.</p> |
12 <p>Use the <b>Toggle Breakpoint</b> command (<span class="code">Ctrl+Shift+B</span>) to set a regular breakpoint in an <a href="properties_breakpoints.htm">Editor</a> or <a href="../../reference/view_disassembly.htm">Disassembly</a> view. Only a single breakpoint can exist on a source code line. A regular breakpoint suspends program execution when it is hit, or executed, during a debug session. The debugger executes the line of source code that contains the regular breakpoint, then opens the <a href="../../reference/perspective_debug.htm">Debug</a> perspective to allow examination and modification.</p> |
13 <p>If a regular breakpoint already exists on the selected line, as indicated by the enabled breakpoint badge (<img src="../../tasks/breakpoints/images/breakpoints_enabled_icon.png" width="9" height="10" align="baseline">) in the marker bar, use <b>Toggle Breakpoint</b> to remove the breakpoint.</p> |
13 <p>If a regular breakpoint already exists on the selected line, as indicated by the enabled breakpoint badge (<img src="../../tasks/breakpoints/images/breakpoints_enabled_icon.png" width="9" height="10" align="baseline">) in the marker bar, use <b>Toggle Breakpoint</b> to remove the breakpoint.</p> |
14 <h4>Enabling and Disabling breakpoints</h4> |
14 <h4>Enabling and Disabling breakpoints</h4> |
15 <p>Once a source line is selected in an editor or Disassembly view, the methods of toggling breakpoints to be enabled of disabled include: </p> |
15 <p>Once a source line is selected in an editor or Disassembly view, the methods of toggling breakpoints to be enabled of disabled include: </p> |
16 <ul> |
16 <ul> |
17 <li>Choose the <b>Run > Toggle Breakpoint</b> menu option</li> |
17 <li>Choose the <b>Run > Toggle Breakpoint</b> menu option</li> |