www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - Visual D values and pointers taking lots of space

reply Brett <Brett gmail.com> writes:
In the debugger windows, pointers and values in hex take a lot of 
space. In 64-bit this can take up a lot of room. Can there be an 
option to remove the extra zero's?
Basically any leading zeros on any numerical values should be 
removed.

Also maybe hex values could use h instead of 0x, saving an extra 
char. I realize it might cause problems with copying values but 
it could be optional too.
Sep 30 2019
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 30/09/2019 22:09, Brett wrote:
 In the debugger windows, pointers and values in hex take a lot of space.
 In 64-bit this can take up a lot of room. Can there be an option to
 remove the extra zero's?
That's how the values are displayed for C++, too. That way you can see the size of the data type, too.
 Basically any leading zeros on any numerical values should be removed.
I agree, an option might be good.
 
 Also maybe hex values could use h instead of 0x, saving an extra char. I
 realize it might cause problems with copying values but it could be
 optional too.
Although a h suffix is also supported when entering values, 0x is the way the language expects the values to be specified, so I'd rather stick with that.
Sep 30 2019