[Issue 23478] Debugging experience with anonymous classes is pretty bad

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 15 22:00:44 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23478

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |DebugInfo
                 CC|                            |r.sagitario at gmx.de
          Component|visuald                     |dmd
           Hardware|x86                         |All
           Severity|enhancement                 |normal

--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
There is no debug info about members of an anonymous class. This is probably
caused by this early return:
https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dcgcv.d#L910

Reassigning to dmd. It looks a lot better when compiling with LDC.

--


More information about the Digitalmars-d-bugs mailing list