Thread overview
[Issue 21658] Debugger is reading enums with EnumBaseType incorrectly
February 23
https://issues.dlang.org/show_bug.cgi?id=21658

alexanderheistermann@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--
February 23
https://issues.dlang.org/show_bug.cgi?id=21658

alexanderheistermann@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All

--
February 23
https://issues.dlang.org/show_bug.cgi?id=21658

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |DebugInfo
                 CC|                            |r.sagitario@gmx.de
          Component|visuald                     |dmd

--- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> ---
Even though dmd emits the debug info for the enum declaration, it declares the variable as an ubyte:

(000044) S_GPROC32: [0000:00000000], Cb: 00000013, Type: 0x1005, D main
         Parent: 00000000, End: 00000000, Next: 00000000
         Debug start: 00000008, Debug end: 0000000E

(000072)  S_ENDARG
(000076)  S_REGREL32: rbp+FFFFFFF8, Type:      T_UCHAR(0020), x

(000086) S_END

LDC works correctly, and Mago displays the enumerator value as expected

--