[Issue 18882] __gshared not displaying in debuginfo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 20 06:27:41 UTC 2018


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

--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
See also issue 11024: there is no information about imports in the debug
informations so you don't know which symbols are visible in the current scope
and what their qualified name is.

In D functions, the qualified name is used to find the requested symbol, too.
This fails for extern(C/C++) functions that don't have the qualification, or if
the symbol is in another module.

You can still watch the variable using the fully qualified name (even for
extern(C++) symbols), e.g. "dmd.globals.global". This actually matches C++
symbols that are in namespaces which also have to be specified.

--


More information about the Digitalmars-d-bugs mailing list