Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
BabySRE
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.

User manual

DemoEllipseSRE is the demo morph used in the manual.

Based on Squeak 3.10.2

SRE currently consists of three tools
  1. Object Browser - an inspector opened on a object shows the identity, complete state and behavior and the class hierarchy in one glance.
  2. Collaboration Tool - a drawing tool for rendering objects and their references visually
  3. Object Tracer - a stack trace tool that dumps stack traces to Transcript.
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

SRE collaboration

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.

Examples:

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
traceRM: anObject levels: aCount
message to dump its stack on the Transcript.

Installation

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.

 MCHttpRepository
    location: 'http://www.squeaksource.com/Ladrillos'
    user: ''
    password: ''

BabySRE_installation_Squeak_5.1_2017-04-07.png