September 16, 2019 Reduce verbosity | ||||
---|---|---|---|---|
| ||||
Arr {length=16 ptr=0x000002023ef60900} int[] It is quite verbose! I have 3 suggestions: Arr {&0x000002023ef60900#16} int[] and if array is small(say, < 10 elements or configurable) Arr {4,1,64,1,4,2} (could compute the string and if it is < some value(configurable) it disables them. I'd rather have the ability to setup my own toString that the debugger uses. I have to constantly expand arrays to see the values and there is a lot of verbosity that takes time rather than just a visual glance. |
Copyright © 1999-2021 by the D Language Foundation