Show TOC Start of Content Area

Function documentation Managing Objects  Locate the document in its SAP Library structure

Use

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:

This graphic is explained in the accompanying text – a primitive value

This graphic is explained in the accompanying text – a java.lang.Class class object

This graphic is explained in the accompanying text – a java.lang.Class interface object

This graphic is explained in the accompanying text – a general object

This graphic is explained in the accompanying text – arrays; arrays are recognized as special objects and have two special types of children, the array scrollers: This graphic is explained in the accompanying text and This graphic is explained in the accompanying text.

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.

 

 

End of Content Area