Debugging: Loaded Classes Window

See Also

You can open the Loaded Classes window by choosing Window > Debugging > Classes. If you open the Loaded Classes window when a debugging session is running, it closes automatically when you end the debugging session. If you open the window when no debugging session is running, it stays open until you close it.

The contents of the Loaded Classes window is dependent on the current context. When you change the current session, the Loaded Classes window is updated to show the classes for that session.

The Loaded Classes window displays the classes loaded on the heap and the percentage and number of object instances. You can sort the classes by class name or the number or percentage of instances. You can also use the filter box at the bottom of the window to filter the list by class name.

You can right-click a class name to view additional details about the class.

Menu Item Description
Show in Instances View
(requires JDK 1.6)
Opens the Instances window displaying the object instances allocated by the constructor of the selected class. The Instances window enables you to browse the instances of each class, the fields of each instance and the references to each instance.
Show Only Subclasses Enables you to limit the classes displayed to the subclasses of the selected class. This functions by using the selected class as the filter criteria. To restore the full list of classes, click the Clear Filter button to the right of the filter class box.
Go to Source Opens the Java source file in the Source Editor.

The following table describes the icons used in the Classes window.

Icon Description
Class Loader icon Class Loader.
Class icon Class.
Interface icon Interface.

You can expand the class loader node to view the class. You can use the pop-up menu in the Loaded Classes window to access the following items.

See Also
Instances Window
Customizing a Debugger Window
Current Context in the Debugger
Debugger Windows

Legal Notices