This Panel
The This Panel is a panel in the top-level Main Window.
The This Panel displays a table of the fields of the this object in the current
scope. The footer displays in blue the corresponding class name (a tool tip displays
the full class name, including package names) and the object ID.
combo
The combo box at the top is a drop down list of all the superclasses
and subclasses of the object being displayed in the panel. Selecting an item from
the combo will display the fields for the corresponding superclass (or subclass).
table
Each row in the table represents a field of the this object. Each field has the following attributes
(which are the columns of the table).
[Shift] Click on a column header to sort the table in
[descending] ascending order according to that column.
- Name - the name of the field.
- Value - the current value of the field. Changed values are displayed
in red. If the value is a non-null reference, then the corresponding object ID will
be displayed in blue. If the value is a null reference, then "null"
will be displayed in blue. Strings and characters are displayed in magenta.
- Type - the type of the field. Standard Java types are
displayed in blue.
To change a value of a primitive variable (boolean, byte, short, int, long, character, float, double),
double click on the corresponding value cell and enter the new value followed by hitting
the Enter key (or hit the Escape key to cancel the editing).
The new value string must validate in order for the change to be made.
A Tool Tip is displayable for each field row in the table.
For object references, the Tool Tip displays the object's fields in the
inheritance hierarchy. For array references, the Tool Tip displays the
beginning array elements. For string references, the Tool Tip displays the
beginning string characters. The number of lines displayed in a Tool Tip
is configurable in the Global Settings Dialog.
While the target JVM is running, an hour glass cursor will be displayed in the This Panel.
context menu
A popup Context Menu is displayed by right clicking on the table:
- Inspect... - displays the selected (field)
non-null object reference
in the Object Panel or the selected non-null array reference in the
Array Panel
in the top-level Objects Window.
Strings are displayed in the String Panel
in the top-level String/To String Window.
This can also be accomplished by double clicking
on a field table row.
- To String... - invokes the toString() method on the selected (field)
non-null object reference and displays
the resulting string in the To String Panel
in the top-level String/To String Window.
- This... - displays the this object in the
Object Panel
in the top-level Objects Window.
- This To String... - invokes the toString() method on the this object and displays
the resulting string in the To String Panel
in the top-level String/To String Window.
- Hex - displays the selected field (which
must be of type short, int or long) in hexadecimal.
- Decimal - displays the selected field (which
must be of type short, int or long) in decimal.
- Add to Watch Panel 1 - adds the selected field
to Watch Panel 1.
- Add to Watch Panel 2 - adds the selected field
to Watch Panel 2.
- Set Watchpoint... - displays the Set Watchpoint Dialog
for the selected field.
- Unsort - returns the table data to its default order.
- Columns... - displays a dialog that allows the User to show
or hide individual table columns.
- Help... - displays this Help.
©2001-2010. debugtools.com LLC. All rights reserved.