WinDbg

Imperatorn johan_forsberg_86 at hotmail.com
Tue Apr 13 17:08:37 UTC 2021


On Tuesday, 13 April 2021 at 15:29:25 UTC, Imperatorn wrote:
> On Tuesday, 13 April 2021 at 15:11:08 UTC, Siemargl wrote:
>> 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
>
> Thanks!!! Will try ☀️

For me, when I try to open I just get an empty window with app.d 
in it
https://ibb.co/jbm7zNs

If I rename it to .cpp it opens, but doesn't work (obviously).

What am I doing wrong? :(


More information about the Digitalmars-d mailing list