Visual D can't debug programs

Rainer Schuetze r.sagitario at gmx.de
Sun Dec 1 20:41:13 UTC 2019



On 01/12/2019 20:19, SkyCloud wrote:
> Hi! Thank you so much for the answer. Platform is Windows 7 x64. I
> checked all the settings you said but unfortunately nothing works.
> 
> I recorded a short video with my attempts to debug a program. There are
> two projects (VisualD and D/C++) with each type and one pure Visual C++
> project. Debugging works only in Visual C++ as I mentioned before.
> https://1drv.ms/v/s!Ar5BCn3roz_ahSoJMf5pVZTdHYGY
> 
> I will be glad if you see it and find anything that can help me.

As you can step into C main (the function calling _d_run_main), it seems
that the debugger is setup correctly and is working, but doesn't accept
the breakpoint set in D's main function.

I suspect that it doesn't work correctly because your user folder
contains non-ascii characters that might be encoded badly in the
generated debug info. Try moving the project to a different folder.


More information about the Digitalmars-d-debugger mailing list