May 1, 2015
10:51 a.m.
On 01 May 2015, at 12:41, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Hi, is it possible to do a halt whenever some instance variable is written?
Soon⦠I am working on it. Make a class TT with ivar âttâ, method tt tt := 1. Then we can define a meta-link to call "Halt nowâ: | link | link := MetaLink new metaObject: Halt; selector: #now. This we can install on the Slot itself: (TT slotNamed: #tt) link: link. If we now call TT new tt it will tell you that we need to implement #write:to: in LinkWrapper⦠;-) Which means a lot of the basic machinery is working! Next week... Marcus