Setting a Breakpoint on a Method Name

  1. From the main window, choose Debug and choose Add Breakpoint (Ctrl-Shift-F8).
  2. In the Add Breakpoint dialog box, select Method from the Breakpoint Type combo box.
  3. Type the package, class, and method names in the text fields.
  4. To set a condition (so the breakpoint occurs when an expression evaluates to true), type the expression in the Condition text field.
  5. Select the desired actions:
  6. Click OK.

    The breakpoint is added to the list in the Breakpoints tab of the Debugger window.

See also
Setting a Breakpoint on a Line
Setting a Breakpoint on an Exception
Setting a Breakpoint on a Class
Setting a Breakpoint on a Thread
Setting a Breakpoint on a Variable

Legal Notices