# Working with breakpoints

You can add breakpoints to your programs, disable or enable existing breakpoints, and remove breakpoints from your programs. Adding breakpoints places them in the current breakpoint group.

You can specify which breakpoint group is the current group, add breakpoint groups to your programs, disable or enable existing breakpoints in a group, and remove breakpoint groups (including all the breakpoints in the group) from your programs.

You can also change the properties for a breakpoint or a breakpoint group. For information about how to change breakpoint properties, see the following topic:

> Working with properties

Note: You can work with the PASE Debugger in a variety of ways: by right-clicking or double-clicking appropriate objects, by using a menu or a keyboard shortcut, or by using the tool bar (if the menu command has a tool icon). The following procedures specify only one way to select a command.

## Adding breakpoints

To add a breakpoint, in the Source window, right-click the line where you want to create the breakpoint and select Add Breakpoint or Remove Breakpoint.

Note: You can also add breakpoints to the assembly code area. For more information about displaying the assembly code area, see the following topic:

> Viewing source code

## Adding method breakpoints

To add a method breakpoint, complete the following steps:

1. Position the cursor anywhere in the Source window.
2. From the Breakpoint menu, select Add Method Breakpoint.
3. In the Add Method Breakpoint dialog, type the name of the method where you want to add the breakpoint.
4. Click OK.

   Note: When you have multiple methods with the same name, clicking OK displays the Add Method Breakpoint dialog. Select one or more methods to which you want to add breakpoints and click OK.

## Disabling and enabling breakpoints

To disable or enable an existing breakpoint, in the Breakpoints pane or the Source window, right click the breakpoint and select Disable Breakpoint or Enable Breakpoint.

## Removing breakpoints

To remove a single breakpoint, in the Breakpoints pane or the Source window, right-click the breakpoint that you want to remove and select Remove Breakpoint.

To remove all breakpoints (from all programs and all groups), right-click in the Breakpoints pane and select Remove All Breakpoints.

Tip: When you want to use a command on more than one breakpoint, select multiple breakpoints by pressing Ctrl as you click a breakpoint.

## Related topics:

> Breakpoint menu

> Breakpoints and breakpoint groups

> Breakpoints pane

> Working with breakpoint groups