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.