Code example repository
Trygve Reenskaug
trygver at ifi.uio.no
Thu Jun 2 07:43:22 UTC 2005
Good idea, I should like to try it.
I would also like to try automatic generation of a sequence diagram:
1) build a SRECollaboration.
2) give a command that wraps each object shown in the diagram.
3) Execute an example, collecting a trace of all messages between the
diagram objects.
4) A sequence diagram can now be generated automatically.
Cheers
--Trygve
At 00:30 02.06.2005, you wrote:
>Skimmed the paper, looks cool!
>
>Would be even nicer if the "do only once: print stack when you get here"
>was a method wrapper, and added directly from method list menu. Remove the
>code editing from the cycle, and the discovery could become a lot quicker
>and more interactive...
>
>Daniel
>
>Trygve Reenskaug wrote:
>>Chris,
>>I made BabySRE, the Baby Reverse Engineering tool, to help me explore the
>>living Squeak objects. I find it materially reduces the period of
>>confusion and irritation when I have to enter a new part of the Squeak
>>image or one of the packages.
>>You can load BabySRE from SqueakMap. A document describing it is at
>> http://heim.ifi.uio.no/~trygver/2004/babysre/BabySRE.pdf
>>The package also includes an extension, Object>>traceRM:..., that dumps
>>the stack at a check point.
>>Enjoy
>>--Trygve
>>P.S.
>>I must admit that to me, some code is too cool and crafty to be explored
>>by this tool or understood by reading the code. (I created the BabySRE
>>tool to find out why I couldn't put up balloon help on a certain morph
>>while it was easy to do so on its neighbour. I still don't know the answer...)
>>At 12:05 31.05.2005, you wrote:
>>
>>>Hi
>>>
>>>There is a thing in the Java world, which I am certain some of you have
>>>encountered, it can be found at
>>><http://www.javaalmanac.com>http://www.javaalmanac.com. Its just a crude
>>>lookup mechanism, using simple keywords to identify example-code-segments.
>>>
>>>I was wondering if any of you know of a similar service for Squeak. If
>>>there is none, I guess it would be of interest to the Squeak community
>>>to have such a thing.
>>>
>>>So, please someone, say yes, and give me the link :-)
>>>
>>>Chris
>>
>>
>>------------------------------------------------------------------------
--
Trygve Reenskaug mailto: trygver at ifi.uio.no
Morgedalsvn. 5A http://heim.ifi.uio.no/~trygver
N-0378 Oslo Tel: (+47) 22 49 57 27
Norway
More information about the Squeak-dev
mailing list
|