Message tracking in Self

Mario Wolczko Mario.Wolczko at Eng.Sun.COM
Wed Nov 9 03:35:21 UTC 1994

The standard approach to message tracking is to use transparant
forwarders, but I thought I'd mention one other technique which might
be relevant, given that you may want to track every message in a
computation, not just ones to specific objects.

The idea is to use the debugger to execute the program, single
stepping under program control.  That is, you drive the debugger from
your program, rather than in the usual, interactive way.  You can then
see the complete state of the computation unfold.  Of course, it will
be much slower than really running the program, but if you are doing
significant work for every message send anyway, it might not be too

Caveat: I've done this before in Smalltalk, but not in Self.  Given
that the Self bytecode set is much simpler than Smalltalk's it should
be straightforward.


More information about the Self-interest mailing list