Classes Tab

Using the Debugger's Classes tab, you can list all classes in the current project, display the source of a class, and set and remove breakpoints in classes.

Packages, Classes, Methods, and Data List

Initially, the Classes tab lists the packages that make up the current project and the main class file in the project. By clicking the glyphs on the left, you can list the classes, methods, and data in the package. The tab uses the following glyphs:

Package

Class

Static variables

Method

Clicking a glyph a second time contracts the item.

Command Buttons

The Classes tab includes the following buttons. Most buttons work on the selected class or method. To select a class or method, click its name.

Stop In
Sets a breakpoint in a method. Selecting a class and clicking the Stop In button sets a breakpoint in each method belonging to the class. Selecting a method and clicking Stop In sets a breakpoint in that individual method. When you set a breakpoint, the WorkShop opens the Source Editor and displays the line (highlighted in red) in which you set the breakpoint.

Clear
Clears the breakpoint in the class or method selected in the scrolling list.

Clear All
Clears all breakpoints set in the program.

Show Source
Displays the source of the class or method selected in the scrolling list. The Java WorkShop displays the source in the Source Editor.


See also:

Inspecting Classes, Methods, and Variables