With `--expandArc` you can see where the hooks are injected but you cannot override ref's hooks. You can edit `lib/system/arc.nim` and add some tracing there.
- Is there any way to hook ref replication or destruction? panno
- Is there any way to hook ref replication or destruction? Araq