Thread overview | |||||
---|---|---|---|---|---|
|
February 20, 2020 Visual D debugger tuple _expand_field | ||||
---|---|---|---|---|
| ||||
_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. |
February 23, 2020 Re: Visual D debugger tuple _expand_field | ||||
---|---|---|---|---|
| ||||
Posted in reply to BetaDamnit | 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. |
February 24, 2020 Re: Visual D debugger tuple _expand_field | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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
|
Copyright © 1999-2021 by the D Language Foundation