Hacker News new | ask | show | jobs
by sojuz151 768 days ago
This look like something that debuggers would hate, because following pointers would be broken
1 comments

I was just thinking this. You'd either need to special-case your debuggers or be able to use something that provided bespoke hooks for pointer-following.
Wrap it in a class and teach the debugger to interpret it. It might be possible with gdb and python pretty-printers for example.