Managing Objects
When you debug an application, sometimes it is not enough just to know the toString() value of a method's parameters. The object browser is a node in the application tracing tree that provides a more detailed view of the Java object graph on the target virtual machine. It can display the values of the fields of every object, show the inheritance of classes, and support paged views of arrays. It is not possible to modify the object graph, however the view may be enhanced by reducing nodes and remembering nodes as top-level ones.
Some node types support a Browse as an object action. When this action is applied, the Java object that is relevant to the respective node appears in the object browser. For instance, if there is a thread node, the java.lang.Thread object will appear.
The nodes in the application tracing object browser are:
– a
primitive value
– a
java.lang.Class class object
– a
java.lang.Class interface object
– a
general object
–
arrays; arrays are recognized as special objects and have two special types of
children, the array scrollers:
and
.
Navigation through the Java object graph of the server's JVM is made possible by displaying the fields of every object in the object browser. Static fields are displayed as children of the respective class object node.
Object Actions
Action |
Description |
Forget |
Removes this node from the object browser. |
Remember as a top-level node |
Makes a copy of this node and adds it to the object browser management node. |