Classes Window

See Also

You can open the Classes window by choosing Window > Debugging > Classes. If you open the 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 Classes window displays the hierarchy of all classes that have been loaded into the virtual machine hosting the program that is being debugged. The contents of the Classes window is dependent on the current context. When you change the current session, the Classes window is updated to show the classes for that session.

You can click the turner control to the left of the class name to expand or collapse the class. You can inspect the fields, constructors, and methods in your program as well as inspect the value of static variables.

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

Icon Description
Class icon Class.
Constructor category icon Category node for constructors.
Constructor package icon Constructor with default access.
Private constructor icon Private constructor.
Public constructor icon Public constructor or nonstatic initializer.
Protected constructor icon Constructor with protected access.
Static initializer icon Static initializer.
Method icon Category node for methods.
Method package icon Method with default access (nonstatic).
Private method icon Private method (nonstatic).
Public method icon Public method (nonstatic).
Protected access method icon Method with protected access (nonstatic).
Default access method icon Method with default access (static).
Static private method icon Private method (static).
Static public method icon Public method (static).
Static protected access method icon Method with protected access (static).
Field icon Category node for fields.
Nonstatic field icon Field with default access (nonstatic).
Private nonstatic field icon Private field (nonstatic).
Public nonstatic field icon Public field (nonstatic).
Protected access, nonstatic field icon Field with protected access (nonstatic).
 Default access, static field icon Field with default access (static).
Static private field icon Private field (static).
Static public field icon Public field (static).
Static protected access field icon Field with protected access (static).

Actions

The pop-up menu in the Classes window includes the following item.

Menu Item Description
List Options Enables you to customize the display of the Call Stack window, including adding and removing columns of information, reordering the columns, and sorting the columns. See Customizing a Debugger Window for more information.
See Also
Customizing a Debugger Window
Current Context in the Debugger
Debugger Windows

Legal Notices