How to debug and watch globals in windows debugger?

ryuukk_ ryuukk.dev at gmail.com
Tue Mar 28 14:48:07 UTC 2023


On Tuesday, 28 March 2023 at 14:02:39 UTC, ryuukk_ wrote:
> Ready to test folder: 
> https://github.com/microsoft/vscode-cpptools/issues/10751#issuecomment-1486948783
>
> Contains simple source to reproduce the issue + build script
>
> Also contains binaries + dump in case you just want to see the 
> data
>
> Hopefully we can figure that out

I noticed in the pdb, there are no mention of the ``app_d`` module


I can only find:

```
       40 | S_PROCREF [size = 28] `app_d.main`
            module = 1, sum name = 0, offset = 40
```

and

```
        0 | S_GDATA32 [size = 40] `app_d.notice_me_global`
            type = 0x0074 (int), addr = 0003:3504
```

Is that why the debugger can't inspect global variables?

Why doesn't the pdb contain anything about ``app_d``?




More information about the Digitalmars-d-learn mailing list