Last updated at 7:23 pm UTC on 19 August 2020
The SRE (Squeak Reverse Engineering) tools (part of BabyIDE) by Trygve Reenskaug (developed DCI) are three tools making Squeak objects visible and tangible.
DemoEllipseSRE is the demo morph used in the manual.
Based on Squeak 3.10.2
SRE currently consists of three tools
Taken together, these tools give one a better understanding of the context and interactions around an object http://folk.uio.no/trygver/2004/babysre/BabySRE.pdf
- Object Browser - an inspector opened on a object shows the identity, complete state and behavior and the class hierarchy in one glance.
- Collaboration Tool - a drawing tool for rendering objects and their references visually
- Object Tracer - a stack trace tool that dumps stack traces to Transcript.
Lets me diagram a Squeak objects with the links between them. With this tool, I find that I can master larger systems than I could not without it.
1. A workspace command with
ACollaboratorToolSRE openOn: (Project current)
opens a collaborator tool on the current project.
2. A window with scrollable contents
3.SRE collaboration diagram - WatchMorph
SRE Object Browser
The SRE Object Browser gives a complete view into a single object including its identity in a single window.
Detailed description now here: SRE Object Browser.
SRE Object Tracer
Any object may be sent a
traceRM: anObject levels: aCount
message to dump its stack on the Transcript.
BabySRE is an application package in Squeak Source repository. The following repository in Monticello contains copies made from the code of a BabySRE image release.
You my load the BabySRE package from it.
However the recommendation is at the moment to get the Squeak 3.10.2 based release image which is updated from time to time from http://fulloo.info/ and use that for exploration. You may also file out code from there and use it in other Squeak version. Adaptations needed.
BabySRE in Squeak6.0a (2017) and Squeak 5.3 release
Currently version BabySRE-hjh.44 works best.