Hello,

I have a program that I want to debug on Windows 10 using Visual Studio 2022. I'm debugging the built .exe directly (not using VisualD or anything).

The program is compiled with dmd ver v2.099.0 using the following flags:
  dmd main.d -debug -g -gf -gs -m64

In Visual Studio when I type the name of my global variable in the watch window it can't find it.. any way to solve this? I found some old thread that suggested using {module-name}.{global-var-name} but that doesn't work either.

Thanks in advance.

Reply via email to