The Classes window is specific to the Java 2 debugger.
You can open the Classes window by choosing Window Debugging
Classes
(Ctrl-Alt-4). 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). |
See Also | |
---|---|
Customizing a Debugger Window
Current Context in the Debugger Debugger Windows |