tags:

views:

199

answers:

2

I have been playing around with D 2.0 a bit today mostly because of the "The Case for D" in DDJ.

I have downloaded D 2.0 for windows but have not figured out how to step through a running program in the debugger.

I tried to get the shipped copy of windbg.exe to work but it is crashing on me all the time and does not seem to see the source code.

+6  A: 

There is a Windows debugger written specifically for D:

http://ddbg.mainia.de/

CyberShadow
+3  A: 

Debugging in Visual Studio 2008 Express works like a charm for me with this tool: http://www.dsource.org/projects/cv2pdb

You can also use windbg 4 or msvc 6, but then you won't see the values of the special D types (like dynamic arrays and hashes) easily.

torhu

related questions