Dexed debugger UI now supports inspection of the variables based on mouse motion
b2.temp at gmx.com
Thu Feb 13 09:06:26 UTC 2020
I don't know why I havent implemented this earlier as it was
quite simple. It's basically the same as when you evaluate a
custom expression excepted that you use the mouse position to
extract a (more or less, TBH) precise unary expression.
Only problem is that GDB requires explicit dereferences, that are
normally automatic in D semantic, so big chain of identifiers
wont work and display '???'.
for D : a.d.c.somevar
GDB needs : (*a).(*d).(*c).somevar
if a,d and c are classes or struct pointers. So far dexed will
(result of -data-evaluate $exp)
(result of -data-evaluate *$exp)
so only one dereference. And in the a.d.c.somevar example this
would not work.
More information about the Digitalmars-d-debugger