mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00

All .htm files have changed for Copyright notice change. New search docs (including indexer), new screen caps.
62 lines
No EOL
2.1 KiB
HTML
62 lines
No EOL
2.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<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>
|
|
<h1>Breakpoints</h1>
|
|
|
|
<p>A breakpoint suspends the execution of a thread at the location where the breakpoint is set.
|
|
To set a breakpoint, right-click in the frame on the left side of an editor beside
|
|
the line where you want the breakpoint, then choose <b>Add Breakpoint</b>.
|
|
</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 <b>Breakpoints</b> view.
|
|
</p>
|
|
|
|
<ul>
|
|
<li>When a breakpoint is enabled, it causes a thread to suspend whenever it is hit.
|
|
Enabled breakpoints are indicated with a blue
|
|
<img src="../images/icon_breakpoint_obj.gif" alt="enabled breakpoint" border="0"> circle.
|
|
Enabled breakpoints that are successfully installed
|
|
are indicated with a checkmark overlay.</li>
|
|
<li>When a breakpoint is disabled, it will not cause threads to suspend.
|
|
Disabled breakpoints are indicated with a white
|
|
<img src="../images/icon_breakpoint_disable.gif" alt="disabled breakpoint" border="0"> circle.<br>
|
|
<img border="0" src="../images/add_breakpoint.png" ALT="Editor view with cursor highlighting breakpoint" width="453" height="335">
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
<p>Debugging breakpoints are displayed in the marker bar in the editor area
|
|
and in the <b>Breakpoints</b> view.
|
|
</p>
|
|
<p><b>Note: </b>Execution will also suspend
|
|
if <b>Stop at main() on startup</b> is enabled
|
|
on the <b>Launch Configuration</b> dialog.
|
|
To access the <b>Launch Configuration</b> dialog,
|
|
from the menu bar choose <b>Run > Debug</b>.
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
<p><img border="0" 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>
|
|
|
|
</body>
|
|
|
|
</html> |