Debugging on Windows

Rene Zwanenburg renezwanenburg at gmail.com
Fri Feb 9 09:53:07 UTC 2018


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.

You can debug D programs from VS Code using the C++ plugin:

https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools

It requires some configuring, but from what I remember it was all 
very straightforward.


More information about the Digitalmars-d-learn mailing list