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. |
![]() |
Category node for constructors. |
![]() |
Constructor with default access. |
![]() |
Private constructor. |
![]() |
Public constructor or nonstatic initializer. |
![]() |
Constructor with protected access. |
![]() |
Static initializer. |
![]() |
Category node for methods. |
![]() |
Method with default access (nonstatic). |
![]() |
Private method (nonstatic). |
![]() |
Public method (nonstatic). |
![]() |
Method with protected access (nonstatic). |
![]() |
Method with default access (static). |
![]() |
Private method (static). |
![]() |
Public method (static). |
![]() |
Method with protected access (static). |
![]() |
Category node for fields. |
![]() |
Field with default access (nonstatic). |
![]() |
Private field (nonstatic). |
![]() |
Public field (nonstatic). |
![]() |
Field with protected access (nonstatic). |
![]() |
Field with default access (static). |
![]() |
Private field (static). |
![]() |
Public field (static). |
![]() |
Field with protected access (static). |
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. |