I need to know when a property of a class instance changes. Is there a more elegant way than turning all properties into computed properties and raise an event in the setter?
If you’re asking if there is a built-in event or method for that, no. Aside from a computed property/event, you can also set up a notification system via Delegates. I did something like that for my Preferences class. When my windows open, they register their delegate with the instance of the class, and unregister when they close. When a preference changes, it calls each of the registered delegates.
See case #1095.
Yes and the case #1095 is at 5th place from
years I guess.
For the records I used to set watchpoints on variables more than 20 years ago with Microsoft Quick Basic
So then, when we will have some improvements in debugger?