Setting a Breakpoint in a Class

Use the Classes tab to set a breakpoint in each method belonging to a specified class. Set this breakpoint when you want to understand how class objects of a particular type are used in a program.

To set a breakpoint in a class:

  1. Open the Classes tab in the Debugger.

  2. Select a class by clicking on its name.

  3. Click the Stop In button.

    The Java WorkShop sets a breakpoint in each method belonging to the class.

Note

If you select a method and click Stop In, the WorkShop sets a breakpoint in the individual method.


See also:

Introduction to Breakpoints
Setting a Breakpoint in a Line
Setting a Breakpoint in a Method
Classes Tab