Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sojuz151
· 2y ago · 0 comments
This look like something that debuggers would hate, because following pointers would be broken
Comments
[–]
jxf
2y ago
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.
[–]
gpderetta
2y ago
Wrap it in a class and teach the debugger to interpret it. It might be possible with gdb and python pretty-printers for example.