Setting a Breakpoint on a Method Name

A breakpoint set on a method name stops program execution every time the method is executed.

To set a breakpoint on a method:

  1. Select the method name in either the Source Editor or Explorer.
  2. From the main window, choose Debug and choose Add Breakpoint (Ctrl-Shift-F8).
  3. In the Add Breakpoint dialog box, select Method from the Breakpoint Type combo box.
  4. Specify the breakpoint settings:
  5. Specify the actions to take when the breakpoint is hit:
  6. Click OK.

    The breakpoint is added to the Breakpoints view 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