Setting a method breakpoint
Restriction: This is supported for Java
only.
You can set method breakpoints from the Packages pane, the Source menu and from the
Breakpoints menu.
To set a method breakpoint from the Packages pane:
- Expand the list in the Packages pane until you see the method you want to set an method
breakpoint on.
- Right-click on that method and select Set Method breakpoint from the pop-up menu.
To set a method breakpoint from the Source menu:
- Select Source > Set Method Breakpoint from the menu bar.
- Enter the name of the method you want to debug in the Method entry
field in the Method Breakpoint dialog. If this method is loaded, you can select it from
the pulldown list in the Method entry field.
- If the Method you chose in the Method pulldown list is not currently loaded, click on
the Defer breakpoint check box.
- Set any optional parameters that you want for the breakpoint.
- Click OK to set the breakpoint and dismiss the Method Breakpoint
dialog. Alternatively, use the Set button to set the breakpoint without
dismissing the Method Breakpoint dialog.
To set a method breakpoint from the Breakpoints menu:
- Select Breakpoints > Set Method from the menu bar.
- Enter the name of the executable you want to debug in the Executable entry
field in the Method Breakpoint dialog. If this executable to be debugged is loaded, you
can select it from the pulldown list in the Executable entry field.
- Choose or enter the object, class or source file that is associated with the module or
routine specified in the Executable entry field and contains the line
where the breakpoint is to be set from the Source pulldown list.
- Choose the source file containing the code for the object or class file from the Include
File pulldown list.
- Enter the name of the method you want to debug in the Method entry
field in the Method Breakpoint dialog. If this method is loaded, you can select it from
the pulldown list in the Method entry field.
- Set any optional parameters that you want for the breakpoint.
- Click OK to set the breakpoint and dismiss the Method Breakpoint
dialog. Alternatively, use the Set button to set the breakpoint without
dismissing the Method Breakpoint dialog.

Breakpoints

Setting multiple breakpoints
Setting a conditional breakpoint

Modifying breakpoint properties
Enabling and disabling breakpoints
Deleting a breakpoint
Viewing breakpoints