Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Inspector Window

The Inspector window lets you view and modify the value of a variable in a stack frame of a suspended thread.

Fields Pane
The Fields pane shows all the fields that the variable is composed of.   Composite variables (ones that contain fields themselves) can be expanded to view the fields they contain by clicking on the plus symbol plus.gif (837 bytes).  When you select a field, its value is shown in the Value pane.

Value Pane
The Value pane shows the value of the selected field.  If you select multiple fields at once (by holding down either Shift or Ctrl while selecting fields), then the value for each field is shown, in the order that the fields were selected.

You can modify the variable by editing its value and saving the changes (select Save from the Value pane's pop-up menu).  The new variable value will be used when execution resumes.

Menus
The Inspector window has the following menus:

ngrelt.gif (466 bytes)
Inspecting and Modifying Variable Values
Suspending, Resuming, and Terminating Threads
Evaluating Expressions in the Debugger