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.
The icon to the left of the breakpoint summary indicates the type of the breakpoint.
Icon | 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. |
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).
|
Delete All | Deletes all the breakpoints in this window.
|
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. |
You can modify how breakpoints are organized in the Breakpoints window by clicking the Breakpoint Groups button
( )
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.