Visual D can't debug programs

SkyCloud andry_wllfli at mail.ru
Sun Dec 1 21:07:37 UTC 2019


On Sunday, 1 December 2019 at 20:41:13 UTC, Rainer Schuetze wrote:
>
>
> 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.

Yes. It works now! Really the problem was in the thing that my 
user-folder uses cyrillic symbols. Now I can debug my programs 
and study D language further.

Thank you so much!


More information about the Digitalmars-d-debugger mailing list