--- Begin Message ---Hello, is possible to intercept (before writeú all instance variable writes on every existing objects?I found a discussion here: http://forum.world.st/Is-it-possible-to-follow-an-object-through-a-computation-td5092459.html Known solutions: 1) jugglery with object read only state + ModificationForbidden - not ideal, it's probably slow via exceptions and every nested on:do: stop change detection 2) it's possible to do it via slots - but it does not work on any existing object (only on my specially prepared objects with slots) 3) Metalinks - it's based on intercepting method calls, right? But I need to intercept direct instance variable write, so probably not possible Is there any way? Thanks! pf
--- End Message ---
[Pharo-users] How to intercept every instance variable write on all objects
Petr Fischer via Pharo-users Thu, 31 Jan 2019 14:42:52 -0800
- [Pharo-users] How to intercept every instance... Petr Fischer via Pharo-users
- Re: [Pharo-users] How to intercept instv... Petr Fischer via Pharo-users
- Re: [Pharo-users] How to intercept i... Steven Costiou
- Re: [Pharo-users] How to interce... Petr Fischer via Pharo-users
- Re: [Pharo-users] How to int... Steven Costiou
- Re: [Pharo-users] How to int... Marcus Denker
- Re: [Pharo-users] How to intercept every... Peter Uhnak