I imagine in time tools will be built to have better control of this (for example now stack trace in debugger looks really magical (suddenly there's a frame from nowhere)), but all in time.
Yes! One thing I want to add is to visualise links in the debugger (so that you can explore easily who hooked into what).�� And provide a ���step into meta���. functionality.��

I'm currently looking into debuggers to at least provide reference in the context... but this may not be achievable without code rewrite...

��
Now when code is recompiled (loaded), you need to re-install the links in those methods, it does not happen
automatically.

Are there any scenarios when method is recompiled during regular Pharo run and without user's invocation?
If nobody else does magic, just loading code or editing code.

That should be fine then... I hope. :)��


In other words, if I install the links after the package has been loaded/updated and I will not be changing the code, will I be safe?

If you want to be sure, you need to implement a layer above. (I want to provide a framework for that later to be reused)

-> Every change to code can be easily tracked by subscribing to the system notification mechanism
-> If a method changed that you are interested in ���> reinstall the links.

I wanted to avoid global subscriptions since I am not sure of the performance penalty... it seems to me like a overkill, but someone would have to benchmark it first. Because 99% of the time you are probably not working with MetaLinks.

maybe I should do real AST rewrites and recompile instead... or investigate if I can somehow annotate Nautilus and debugger to show the links... hmm���

Link visualisation in the code will come, now with the new editor this is actually possible! But it will be after the whole base is stable and debugged...
But of course the ���hidden��� nature of the metalink is a tradeoff��� rewriting code in a more visible way can be better depending on the situation.

Well since I want to play with metalinks some more I created a simple Nautilus plugin that can show MetaLinks associated with a method...��

���
But I don't know how useful it would be for real metalink usage... maybe I can publish it somewhere...

Peter