# Breakpoints Window

The Breakpoints window lists all the breakpoints that you set in your projects. You can open the Breakpoints window by choosing Window > Debugging > Breakpoints. 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.

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.

Icons

The icon to the left of the breakpoint summary indicates the type of the breakpoint.

Element | Description
--- | ---
| Breakpoint set on a specific line
| 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.
| Invalid line breakpoint.
| Invalid method or field breakpoint.
| Disabled breakpoint.
| Disabled method or field breakpoint.
| Deactivated breakpoint (JavaScript).

Actions

The pop-up menu in the Breakpoints window includes the following items:

Element | Description
--- | ---
Go to Source | (For a line breakpoint only) Finds the location of the selected breakpoint in the source code.
Disable | Turns off the selected breakpoint, but preserves an entry for it in this window.
Move Into Group | Organizes breakpoints into groups so that you can enable, disable, and delete the breakpoints as a group. 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.
New Breakpoint | Creates a new breakpoint. Alternatively, click the Create New Breakpoint ( ) in the left margin of the Breakpoints window.
Enable All | Enables all the breakpoints in this window.
Disable All | Disables all the breakpoints in this window.
Delete | Deletes the selected breakpoints. If you choose this option, the breakpoints are deleted immediately. There is no confirmation dialog box.
Delete All | Deletes all the breakpoints in this window. If you choose this option, all breakpoints are deleted immediately. There is no confirmation dialog box.
Properties | 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.

Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.