You use the Data window to display information about variables in your program. The Data window displays the arguments, local variables, and static fields for the current context, which is controlled by the selection in the Stack window. If you move to a new context, the Data window is updated to show the data for the new context. If the current class was compiled without debug information, you will not be able to see the local variables. However, if you are debugging with the Oracle Java Virtual Machine (OJVM), the debugger analyzes the local variable memory locations in the stack frame to show you as much information as possible.
Create instance breakpoints from the context menu.
For more information about this window including its context menu options, press F1 or click Help in the Data window.
To open the Data window:
Open source files in the Source Editor and set breakpoints.
In the toolbar, click Debug.
When the debugger pauses at a breakpoint, select
View
Debug Windows
Data from the main menu.
The Data window appears.
To change which columns are displayed in the Data window:
Right-click in the Data window and choose Settings from the context menu.
Related topics
Using the Debugger Windows
Setting Preferences for the Debugger Windows
Using the Smart Data Window
Using the Stack Window
Modifying Data Elements
Copyright © 1997, 2004, Oracle. All rights reserved.