Visual D debugger tuple _expand_field

Arjan arjan at ask.me.to
Mon Feb 24 12:07:45 UTC 2020


On Sunday, 23 February 2020 at 17:22:13 UTC, Rainer Schuetze 
wrote:
>
>
> On 20/02/2020 23:03, BetaDamnit wrote:
>> _expand_field
>> 
>> takes up a huge amount of space for no reason. I think tuple 
>> scan be safely listed like arrays. We know they are tuples, no 
>> need to display _expand_field=, it just takes up a lot of 
>> space in the display for no reason, specially if there are 
>> several elements in the tuple.
>> 
>
> This is the result of the compiler lowering the tuple to a 
> number of variables __<varname>_field_<index>. No info is 
> generated about this being a structure-like compound.
>
> I have added support to the debugger to recombine these 
> variables to an expandable array, but it wasn't actually 
> trivial: 
> https://github.com/rainers/mago/commit/451f856fd70a311460af1153ce1a1647059b5d89
>
> It will be in the next release.

Rainer, you worth more money! Thank you for your relentless 
effort and support, it is highly appreciated, at least by me.
Thanks!
Arjan


More information about the Digitalmars-d-debugger mailing list