[Issue 18882] New: __gshared not displaying in debuginfo

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 20 02:06:49 UTC 2018


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

          Issue ID: 18882
           Summary: __gshared not displaying in debuginfo
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: visuald
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

In DMD, put a breakpoint somewhere at the top of mars.d: tryMain()
This function refers to `global` frequently, eg `global.params`,
`global.inifilename`, etc.
Notice that the debuginfo seems to be missing for `global`, the debugger just
says "Symbol not found", and you can't inspect the members.

I've seen this problem a lot, but this is a very convenient repro in a popular
codebase :)

--


More information about the Digitalmars-d-bugs mailing list