www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual D: Enums in debug window

reply Amex <Amex gmail.com> writes:
Enums seem to resolve to the value... could you have it so it 
shows both the value and the enum member id corresponding to that 
value(possibly all)?

Makes it easier rather than going to look up the value.
Jun 06 2019
parent Rainer Schuetze <r.sagitario gmx.de> writes:
On 06/06/2019 22:20, Amex wrote:
 Enums seem to resolve to the value... could you have it so it shows both
 the value and the enum member id corresponding to that value(possibly all)?
 
 Makes it easier rather than going to look up the value.
 
Even though dmd defines the enumerator in the debug information, it doesn't attach it to the variable, but emits the base type. LDC uses the enumerator type and the debugger shows it correctly. You might want to file a bug report against dmd: https://issues.dlang.org
Jun 12 2019