Show TOC

Background documentationBreakpoints at Methods Locate this document in the navigation structure

 

You can use this special kind of dynamic breakpoint to interrupt a program directly before a method is called.

Prerequisites

You must be already running the program in the debugger.

Process

Procedure

To set a breakpoint for methods:

  1. Choose   Breakpoint   Breakpoint at   Method...   The following dialog box then appears:

    This graphic is explained in the accompanying text.

  2. Enter the name of the method and class before which you want to interrupt the program. A breakpoint is then set each time the specified processing block appears in the source code.

  3. Press ENTER.

Result

The system confirms the breakpoint. The breakpoint is added to the list in the display.