Loaded Classes Panel
The Loaded Classes Panel is a panel in the top-level Main Window.
The Loaded Classes Panel displays a tree of Java classes (and their associated
ClassLoaders) as they are loaded into the target JVM.
Only classes that are at least in the target JVM "prepared" state are displayed.
Arrays are also not displayed. See also the description of the
Display Initial Classes... context menu item at the bottom of the page.
ClassLoaders (and associated id) are displayed (in red) directly under the root of the tree.
The number of classes (and inner classes) currently loaded by a ClassLoader,
is displayed in parentheses. Note that a Java class can be loaded by multiple
ClassLoaders.
The package names comprising a full class name are displayed under a ClassLoader.
The number of classes (and inner classes) currently loaded in a package
(and subpackages) is displayed in parentheses.
The class name itself is displayed (in red) in the middle of the
tree hierarchy. Clicking on a class name, will display the corresponding source code
in the Source Panel.
For each class the following information is displayed in the
leaves of the tree:
attributes
The following attributes of a class are displayed in green:
- How the class was declared (abstract, public, etc.).
- The superclass.
- The source file name.
inner classes
The inner classes contained in a class are displayed in red. The number of inner
classes is displayed in parentheses.
interfaces
The interfaces that the class implements are displayed in orange.
The number of interfaces is displayed in parentheses.
fields
The fields of the class and how they were declared are displayed in purple.
The number of fields is displayed in parentheses.
methods
The methods of the class and how they were declared are displayed in blue.
The number of methods is displayed in parentheses.
Clicking on a method name, will display the corresponding source code for that method in the
Source Panel.
- The method's arguments are displayed in magenta.
The number of arguments is displayed in parentheses.
- The method's local variables are displayed in magenta.
The number of local variables is displayed in parentheses.
context menu
A popup Context Menu is displayed by right clicking on the panel:
- Set Events... - displays the Set Class Events Dialog.
- Set Watchpoint... - displays the Set Watchpoint Dialog.
- Hot Swap... - displays a File Selection Dialog for the user to select
a .class file to Hot Swap (if supported by the
target JVM) for the corresponding class selected in the tree.
- Display Initial Classes... - displays a dialog in which the user can
set the Display Initial Classes setting (defaults to false). JDebugTool can
query for ALL the classes already loaded in target JVM, when JDebugTool
initially connects to the target. This adds a performance overhead on the
initial connection, which may not be acceptable.
- Help... - displays this Help.
©2001-2010. debugtools.com LLC. All rights reserved.