Dexed debugger UI now supports inspection of the variables based on mouse motion

Basile B. b2.temp at gmx.com
Mon Feb 17 02:56:16 UTC 2020


On Friday, 14 February 2020 at 16:29:26 UTC, Elronnd wrote:
> On Thursday, 13 February 2020 at 09:06:26 UTC, Basile B. wrote:
>> GDB requires explicit dereferences, that are normally 
>> automatic in D semantic, so big chain of identifiers wont work 
>> and display '???'.
>>
>> Example:
>>
>>     for D       :    a.d.c.somevar
>>     GDB needs   :  (*a).(*d).(*c).somevar
>
> Can you say a->d->c->somevar instead?

Actually I'm a cunt... if the GDB answers were so bad it's 
because I used DMD. I definitively knew that its codegen is bad 
but I didn't know that the debug info too since I just read 
that...

A test with the DWARF infos generated from LDC2 and a chain of 3 
classes gives excellent results.


More information about the Digitalmars-d-debugger mailing list