SRE Object Browser
Last updated at 3:31 am UTC on 4 November 2018
The SRE Object Browser is part of the BabySRE tools.
An SRE object browser/inspector opened on a object shows
in one glance.
- the identity,
- the complete state and
- behavior and
- the class hierarchy
So it gives a complete view into a single object including its identity in a single window as shown below.
Title bar - identity
In the title bar the identity of the object is shown the oop (882370 in the case of the example) included.
Top row - state
The topmost row shows the state of all the instance variables along with the class in which they were defined.
Select any variable to see its value in the right pane.
Middle row - behavior
The middle shows all behaviors (methods) along with the class in which they were defined. Select any method to see its body in the right pane. The state and the behaviors may be edited in the right panes as in a class browser.
Bottom row - class hierarchy
The bottom row shows the class hierarchy. The class hierarchy is flattened so that the object can be seen in its full context.
One or more classes may be selected and their corresponding method categories will be listed in the right pane. To see the class-side methods, right click on any class and select a class-side browser. Select one or more of the categories to filter the methods shown in the middle pane.
Also see SRE Execution Tracer