Thread overview
[Issue 1705] CodeView: static variables in functions not assigned to procedure scope
Dec 20, 2014
Rainer Schuetze
Aug 20, 2019
Rainer Schuetze
Dec 17, 2022
Iain Buclaw
December 20, 2014
https://issues.dlang.org/show_bug.cgi?id=1705

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |symdeb
                 CC|                            |r.sagitario@gmx.de

--
August 20, 2019
https://issues.dlang.org/show_bug.cgi?id=1705

--- Comment #1 from Rainer Schuetze <r.sagitario@gmx.de> ---
Indeed, C++ emits the static variable as part of the function locals, while dmd makes it a global symbol with full qualification.

mago has a workaround that allows watching statics if the function has extern(D) mangling, so the fully qualified variable can be found. It doesn't show up as a local, though.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=1705

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--