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?
Thread overview | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 13, 2021 WinDbg | ||||
---|---|---|---|---|
| ||||
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? |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | 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? You should already given that dmd produces the .pdb file when generating debugging symbols for windows.
|
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | 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 Catching excepions: Break @start |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to 12345swordy | On Tuesday, 13 April 2021 at 14:50:37 UTC, 12345swordy 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? You should already given that dmd produces the .pdb file when generating debugging symbols for windows.
Really? 😱 I thought it couldn't track the sources. Nice |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Siemargl | 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 Catching excepions: Break @start Thanks!!! Will try ☀️ |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Siemargl | 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 Catching excepions: Break @start But... But... But... If that's already the case, why care people complaining about missing debuggers? 💭 |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | 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 Catching excepions: Break @start Thanks!!! Will try ☀️ For me, when I try to open I just get an empty window with app.d in it If I rename it to .cpp it opens, but doesn't work (obviously). What am I doing wrong? :( |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Tuesday, 13 April 2021 at 17:08:37 UTC, Imperatorn wrote: >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: >[...] 1.Open .exe file Catching excepions: Break @start Thanks!!! Will try ☀️ For me, when I try to open I just get an empty window with app.d in it If I rename it to .cpp it opens, but doesn't work (obviously). What am I doing wrong? :( Hmm.. I kind of got it working in the normal version of windbg, but not in the WinDbg Preview version which is what I want. Anyone got that working? |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Tuesday, 13 April 2021 at 17:45:58 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 17:08:37 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 15:29:25 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 15:11:08 UTC, Siemargl wrote: >[...] Thanks!!! Will try ☀️ For me, when I try to open I just get an empty window with app.d in it If I rename it to .cpp it opens, but doesn't work (obviously). What am I doing wrong? :( Hmm.. I kind of got it working in the normal version of windbg, but not in the WinDbg Preview version which is what I want. Anyone got that working? Ok, I'm using the "old" WinDbg for now |
April 13, 2021 Re: WinDbg | ||||
---|---|---|---|---|
| ||||
Posted in reply to Imperatorn | On Tuesday, 13 April 2021 at 18:21:13 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 17:45:58 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 17:08:37 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 15:29:25 UTC, Imperatorn wrote: >On Tuesday, 13 April 2021 at 15:11:08 UTC, Siemargl wrote: >[...] Thanks!!! Will try ☀️ For me, when I try to open I just get an empty window with app.d in it If I rename it to .cpp it opens, but doesn't work (obviously). What am I doing wrong? :( Hmm.. I kind of got it working in the normal version of windbg, but not in the WinDbg Preview version which is what I want. Anyone got that working? Ok, I'm using the "old" WinDbg for now UPDATE And going to the MS store and doing "update" did not update it. The previous version that didn't work was: And the new version that works is: |