blob: f9b4e0835e22553b480785d2fa5e49403bfe98a4 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Breakpoints Window</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="NetbeansDebuggerBreakpointNode" name="NetbeansDebuggerBreakpointNode"></a></p>
<div id="NBCSH2609"><!-- infolevel="all" infotype="General" --><a id="sthref344" name="sthref344"></a>
<h1>Breakpoints Window</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>The Breakpoints window lists all the breakpoints that you set in your projects. You can open the Breakpoints window by choosing <b>Window</b> &gt; <b>Debugging</b> &gt; <b>Breakpoints</b>. If you open the Breakpoints window when a debugging session is running, it closes automatically when you end the debugging session. If you open the window when no debugging session is running, it stays open until you close it.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG847">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>By default, each entry contains a short text description of the breakpoint and a checkbox indicating whether the breakpoint is enabled or disabled. You can enable or disable a breakpoint directly in the Breakpoints window by selecting or deselecting the checkbox.</p>
<a id="NBCSH2610" name="NBCSH2610"></a>
<p><b>Icons</b></p>
<p>The icon to the left of the breakpoint summary indicates the type of the breakpoint.</p>
<table summary="Descriptions of breakpoint icons." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="34%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t8">Element</th>
<th align="left" valign="bottom" id="r1c2-t8">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/breakpoint.gif" alt="Breakpoint icon." title="Breakpoint icon." /></p></td>
<td align="left" headers="r2c1-t8 r1c2-t8">Breakpoint set on a specific line</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/breakpoint_nonline.png" alt="Breakpoint nonline icon." title="Breakpoint nonline icon." /></p></td>
<td align="left" headers="r3c1-t8 r1c2-t8">Breakpoint other than a line breakpoint (for example, a method breakpoint or a field breakpoint). The set of breakpoint types that are available depends on the debugger that you are using.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/breakpoint_broken.png" alt="Broken breakpoint icon." title="Broken breakpoint icon." /></p></td>
<td align="left" headers="r4c1-t8 r1c2-t8">Invalid line breakpoint.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/breakpoint_nonline_broken.png" alt="Invalid method or field breakpoint icon." title="Invalid method or field breakpoint icon." /></p></td>
<td align="left" headers="r5c1-t8 r1c2-t8">Invalid method or field breakpoint.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/disabledbreakpoint.gif" alt="Disabled breakpoint icon." title="Disabled breakpoint icon." /></p></td>
<td align="left" headers="r6c1-t8 r1c2-t8">Disabled breakpoint.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/disablebreakpoint_nonline.png" alt="Disabled method or field breakpoint icon." title="Disabled method or field breakpoint icon." /></p></td>
<td align="left" headers="r7c1-t8 r1c2-t8">Disabled method or field breakpoint.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t8" headers="r1c1-t8">
<p><img width="16" height="16" src="img/breakpoint_stroke.png" alt="Deactivated breakpoint icon." title="Deactivated breakpoint icon." /></p></td>
<td align="left" headers="r8c1-t8 r1c2-t8">Deactivated breakpoint (JavaScript).</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH2618" name="NBCSH2618"></a>
<p><b>Actions</b></p>
<p>The pop-up menu in the Breakpoints window includes the following items:</p>
<table summary="Descriptions of breakpoint commands from context menu." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="34%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t9">Element</th>
<th align="left" valign="bottom" id="r1c2-t9">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t9" headers="r1c1-t9">
<p>Go to Source</p>
</td>
<td align="left" headers="r2c1-t9 r1c2-t9">(For a line breakpoint only) Finds the location of the selected breakpoint in the source code.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t9" headers="r1c1-t9">
<p>Disable</p>
</td>
<td align="left" headers="r3c1-t9 r1c2-t9">Turns off the selected breakpoint, but preserves an entry for it in this window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t9" headers="r1c1-t9">
<p>Move Into Group</p>
</td>
<td align="left" headers="r4c1-t9 r1c2-t9">Organizes breakpoints into groups so that you can enable, disable, and delete the breakpoints as a group.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG859">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
<p>Select one or multiple breakpoints and then choose this option to create or add the breakpoints to a group. The group name is displayed as an expandable node in the Breakpoints window in the Custom Group view. You can also choose to display custom groups in the Nested view.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t9" headers="r1c1-t9">
<p>New Breakpoint</p>
</td>
<td align="left" headers="r5c1-t9 r1c2-t9">Creates a new breakpoint.
<p>Alternatively, click the <b>Create New Breakpoint</b> ( <img width="16" height="16" src="img/newbreakpoint.gif" alt="New breakpoint icon." title="New breakpoint icon." /> ) in the left margin of the Breakpoints window.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t9" headers="r1c1-t9">
<p>Enable All</p>
</td>
<td align="left" headers="r6c1-t9 r1c2-t9">Enables all the breakpoints in this window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t9" headers="r1c1-t9">
<p>Disable All</p>
</td>
<td align="left" headers="r7c1-t9 r1c2-t9">Disables all the breakpoints in this window.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t9" headers="r1c1-t9">
<p>Delete</p>
</td>
<td align="left" headers="r8c1-t9 r1c2-t9">Deletes the selected breakpoints.
<p><img width="14" height="14" src="img/warn.gif" alt="Warning icon." title="Warning icon." /> If you choose this option, the breakpoints are deleted immediately. There is no confirmation dialog box.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r9c1-t9" headers="r1c1-t9">
<p>Delete All</p>
</td>
<td align="left" headers="r9c1-t9 r1c2-t9">Deletes all the breakpoints in this window.
<p><img width="14" height="14" src="img/warn.gif" alt="Warning icon." title="Warning icon." /> If you choose this option, all breakpoints are deleted immediately. There is no confirmation dialog box.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r10c1-t9" headers="r1c1-t9">
<p>Properties</p>
</td>
<td align="left" headers="r10c1-t9 r1c2-t9">Opens the Properties dialog box enabling you to specify behavior of the breakpoint, including the line number and source file, conditions triggering the breakpoint, and which threads to suspend.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<a id="NBCSH2628" name="NBCSH2628"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG847">
<param name="text" value="<html><u>&quot;Managing Breakpoints&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG822">
<param name="text" value="<html><u>&quot;Using the Debugger Windows&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>