blob: 371e49758ce6b8d8d21521747e7b56814ab6f664 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
<title>
Enabling and disabling breakpoints
</title>
</head>
<body>
<h1>
Enabling and disabling breakpoints
</h1>
<p>
Breakpoints can be enabled and disabled as needed.&nbsp; When a breakpoint is enabled, thread execution suspends before that line of code is executed.&nbsp;
When a breakpoint is disabled, thread execution is not suspended by the
presence of the breakpoint.
</p>
<p> To disable a breakpoint in the <strong>Breakpoints view</strong>: </p>
<ol>
<li> Open the breakpoint's context menu and select <strong>Disable</strong>,
or deselect the breakpoint's checkbox.</li>
<li> The breakpoint image will change to a white circle and its checkbox will
be empty.</li>
</ol>
<p>To disable a breakpoint in the marker bar of an editor: </p>
<ol>
<li> Open the breakpoint's context menu and select <strong>Disable Breakpoint</strong>.</li>
<li> The breakpoint image will change to a white circle.</li>
</ol>
<p>To enable the breakpoint in the <strong>Breakpoints view</strong>:</p>
<ol>
<li> Open the breakpoint's context menu and select <strong>Enable</strong>,
or select the breakpoint's checkbox. </li>
<li> The breakpoint image will change back to a blue circle, and its checkbox
will be checked.</li>
</ol>
<p>To enable a breakpoint in the marker bar of an editor: </p>
<ol>
<li> Open the breakpoint's context menu and select <strong>Enable Breakpoint</strong>.</li>
<li> The breakpoint image will change to a white circle.</li>
</ol>
<p>
<img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br>
<a href="../concepts/concepts-10.htm">Debugger</a><br>
<a href="../concepts/concepts-5.htm">Java perspectives</a><br>
<a href="../concepts/concepts-7.htm">Java editor</a><br>
</p>
<p>
<img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br>
<a href="../tasks/tasks-146.htm">Applying hit counts</a><br>
<a href="../tasks/tasks-147.htm">Catching Java exceptions</a><br>
<a href="../tasks/tasks-144a.htm">Removing breakpoints</a><br>
<a href="../tasks/tasks-145.htm">Setting method breakpoints</a><br>
<a href="../tasks/tasks-144c.htm">Managing conditional breakpoints</a><br>
<a href="../tasks/tasks-136.htm">Stepping through the execution of a program</a>
</p>
<p>
<img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
<a href="../reference/views/breakpoints/ref-breakpoints_view.htm">Breakpoints view</a>
</p>
</body>
</html>