[Issue 1705] CodeView: static variables in functions not assigned to procedure scope

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 20 21:46:39 UTC 2019


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

--- Comment #1 from Rainer Schuetze <r.sagitario at 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.

--


More information about the Digitalmars-d-bugs mailing list