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. |
Set Group Name | You can organize breakpoints into groups so that you can enable, disable, and delete the breakpoints as a group. If you select multiple breakpoints and then choose this option, you can give them a group name in the Create Group dialog box. The group name is added to the Breakpoints window as a node, and all the breakpoints in the group appear under the node. |
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 All | Deletes all the breakpoints in this window.
|
Customize | >Opens a 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. |
List Options | Enables you to customize the display of the Breakpoints window, including adding and removing columns of information, reordering the columns, and sorting the columns. See Customizing a Debugger Window for more information. |