Jump to page: 1 2 3
Thread overview
WinDbg
Apr 13, 2021
Imperatorn
Apr 13, 2021
12345swordy
Apr 13, 2021
Imperatorn
Apr 13, 2021
Siemargl
Apr 13, 2021
Imperatorn
Apr 13, 2021
Imperatorn
Apr 13, 2021
Imperatorn
Apr 13, 2021
Imperatorn
Apr 13, 2021
Imperatorn
Apr 13, 2021
Siemargl
Apr 13, 2021
Imperatorn
Apr 18, 2021
Imperatorn
Apr 18, 2021
Andre Pany
Apr 19, 2021
Andre Pany
Apr 19, 2021
Imperatorn
Apr 19, 2021
Imperatorn
Apr 20, 2021
Andre Pany
Apr 20, 2021
Imperatorn
Apr 20, 2021
Andre Pany
Apr 20, 2021
Imperatorn
Apr 13, 2021
Imperatorn
April 13, 2021

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

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.

  • Alex
April 13, 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

April 13, 2021

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.

  • Alex

Really? 😱

I thought it couldn't track the sources. Nice

April 13, 2021

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 ☀️

April 13, 2021

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

But... But... But... If that's already the case, why care people complaining about missing debuggers? 💭

April 13, 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? :(

April 13, 2021

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
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? :(

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

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
https://ibb.co/jbm7zNs

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

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
https://ibb.co/jbm7zNs

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
It was the debugging client and debugger engine that was outdated.

And going to the MS store and doing "update" did not update it.
I had to uninstall WinDbg Preview and then install it again to update it.

The previous version that didn't work was:
Client: 1.0.2007.06001
Engine: 10.0.20153.1000

And the new version that works is:
Client: 1.2103.01004.0
Engine: 10.0.21306.1007

« First   ‹ Prev
1 2 3