Breakpoints Window

See Also

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.

Icon Description
Line breakpoint Breakpoint set on a specific line
Icon for breakpoint other than a line breakpoint 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 breakpoint icon group Invalid line breakpoint.
Invalid method or field breakpoint Invalid method or field breakpoint.
Disabled breakpoint icon group Disabled breakpoint.
Disabled method or field breakpoint Disabled method or field breakpoint.

Actions

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

Menu Item 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 You can organize breakpoints into groups so that you can enable, disable, and delete the breakpoints as a group. You can 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.
Enable All Enables all the breakpoints in this window.
Disable All Disables all the breakpoints in this window.
Delete Deletes the selected breakpoint(s).
  • If you choose this option, the breakpoint(s) is 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.

Grouping Breakpoints

You can modify how breakpoints are organized in the Breakpoints window by clicking the Breakpoint Groups button ( Select breakpoints group ) and selecting a grouping strategy from the popup window. If you choose Nested you can specify the specific groups and the order of the groups that are displayed.

See Also
Setting a Java Breakpoint
Syntax Rules for Setting a Condition on a Breakpoint
Debugger Windows

Legal Notices