Debugging on Windows

JN 666total at wp.pl
Sun Feb 11 10:59:36 UTC 2018


On Friday, 9 February 2018 at 19:02:14 UTC, Benjamin Thaut wrote:
> On Thursday, 8 February 2018 at 21:09:33 UTC, JN wrote:
>> Hi,
>>
>> is there any way to debug binaries on Windows? I'd at least 
>> like to know which line of code made it crash. If it's D code, 
>> I get a call trace usually, but if it's a call to a C library, 
>> I get a crash and that's it. I am using VSCode and I'd prefer 
>> to debug in it if possible, but using other IDEs is a 
>> possibility for me if that will help.
>
> The best option most likely is to get the Visual Studio 
> Community Edition and then Install the VisualD extension for 
> Visual Studio. This will give you a very good debugging 
> experience with a bulitin D expression evaulator and the usual 
> features the very good Visual Studio debugger comes with.
>
> Kind Regards
> Benjamin Thaut

Thanks. VisualD worked out of the box. I'll still do my coding in 
VSCode, because I am used to it, but I'll use VisualD for 
debugging when needed.


More information about the Digitalmars-d-learn mailing list