Breakpoints at Subroutines
You can use this special kind of dynamic breakpoint to interrupt a program directly before a subroutine, an event, or a module is called.
Prerequisites
You must already be running the program in the Debugger.
Procedure
To set a breakpoint for a subroutine, method, or module:
- Choose Breakpoint ®
Breakpoint at ®
Event/Subroutine.
The following dialog box appears:
- Enter the name of the subroutine, method, or module event before which you want to interrupt the program. By default, the Program field contains the name of the program that is currently active. The system sets a breakpoint wherever the specified subroutine, module, or event occurs in the program code.
- Choose
ENTER
.
Result
The system confirms the breakpoint. The breakpoint is added to the list in the display.