WinDbg

Siemargl inqnone at gmail.com
Tue Apr 13 15:11:08 UTC 2021


On Tuesday, 13 April 2021 at 14:35:15 UTC, Imperatorn wrote:
> Short question:
>
> Would it be possible to get WinDbg to do source debugging for D?
>
> https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/source-window
>
> What would it take? Possible at all?

1.Open .exe file
2.Open .d source file
3.Set breakpoint in source (F9)
4.Go

Catching excepions:
-for dmd -m64 or -m32mscoff builds  >bp _d_throwc
-for ldc -g builds  >bp d_throw_exception

Break @start
-ldc >bp Dmain


More information about the Digitalmars-d mailing list