[GOODIE] SendTreeExplorer

Jesse Welton jwelton at pacific.mps.ohio-state.edu
Fri Mar 7 10:38:16 UTC 2003


SendTreeExplorer 1alpha is now on SqueakMap.

This little goodie provides new tools SendTreeExplorer and
MessageSendTree.  Like MessageTally, MessageSendTree traces the
execution of a block in simulation. There are three key differences:

    1. Rather than tallying the number of times each method is called
in a given context, MessageSendTree traces and returns the exact tree
of the sends made, in send order.
    2. MessageSendTree is designed to work with a SendTreeExplorer
which presents the results in a hierarchical list view rather than
flattened to a text pane.
    3. MessageSendTree allows all sends above a given method to be
ignored, so that such a method can be conveniently traced deep in the
execution of the block without the bother of wading through a long
send chain to get there.

It's a first alpha, but I'm finding it quite usable.  Give it a try,
and let me know what you think.

-Jesse



More information about the Squeak-dev mailing list