1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00
cdt/debug/org.eclipse.cdt.debug.application.doc/concepts/cdt_c_brkpnts.htm
Jeff Johnston 6acb6dbc70 Add CDT Standalone Debugger
- add org.eclipse.cdt.debug.application plugin which supports running
  CDT debugger as Eclipse application
- add org.eclipse.cdt.debug.application.docs plugin which is the
modified
  CDT docs
- add org.eclipse.cdt.debug.standalone-feature which bundles the
  two aforementioned plugins
- add org.eclipse.cdt.debug.standlone.source-feature

Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13
Reviewed-on: https://git.eclipse.org/r/25845
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-05 15:39:30 -04:00

63 lines
No EOL
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Breakpoints</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<div role="main">
<h1>Breakpoints</h1>
<p>A breakpoint suspends the execution of a program at the location where the breakpoint is set.
To set a line breakpoint, right-click in the marker bar area on the left side of an editor beside
the line where you want the program to be suspended, then choose <strong>Toggle Breakpoint</strong>. You can
also double-click on the marker bar next to the source code line. A new breakpoint marker appears
on the marker bar, directly to the left of the line where you added the breakpoint. Also, the new
breakpoint appears in the Breakpoints view list.
</p>
<p>Once set, a breakpoint can be enabled and disabled by right-clicking on its icon or by
right-clicking on its description in the <strong>Breakpoints</strong> view.
</p>
<ul>
<li>When a breakpoint is enabled, it causes the program to suspend whenever it is hit.
Enabled breakpoints are indicated with a blue
<img src="../images/icon_breakpoint_obj.gif" alt="enabled breakpoint" > circle.
Enabled breakpoints that are successfully installed
are indicated with a checkmark overlay.</li>
<li>When a breakpoint is disabled, it will not affect the execution of the program.
Disabled breakpoints are indicated with a white
<img src="../images/icon_breakpoint_disable.gif" alt="disabled breakpoint" > circle.<br>
<img src="../images/add_breakpoint.png" ALT="Editor view with cursor highlighting breakpoint" width="453" height="335">
</li>
</ul>
<p><strong>Note: </strong>Execution will also suspend
if <strong>Stop at main() on startup</strong> is enabled
on the <strong>Launch Configuration</strong> dialog.
To access the <strong>Launch Configuration</strong> dialog,
from the menu bar choose <strong>Run > Debug</strong>.
</p>
<hr>
<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_o_views.htm">Run menu</a><br>
<a href="../reference/cdt_o_views.htm">Breakpoints view</a>
</p>
<p>
<img src="../images/rh03_04.gif" ALT="Red Hat Statement"><br>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement">
</p>
</div>
</body>
</html>