Debugger options

Rainer Schuetze r.sagitario at gmx.de
Wed Feb 1 13:39:59 PST 2012


Hi,

On 01.02.2012 11:31, Gyula Gubacsi wrote:
> Hi,
>
> Can somebody update me on how the compiler/debugger implementations
> are going on the 3 main platforms? What are you using, which is the
> most useful for D applications? To my knowledge, the situation is like
> this:
> * Windows: DMD->  producing CodeView debug info format. ->  No GDB support.
>                    Old version of WinDBG is in the D bundle.
>                   GDC ?

With the help of cv2pdb (http://dsource.org/projects/cv2pdb) the dmd 
generated debug information can be converted to a pdb file, so you can 
use most C++ debuggers including Visual Studio.
Visual D (http://www.dsource.org/projects/visuald) includes cv2pdb, but 
also mago (http://dsource.org/projects/mago_debugger). mago is a Visual 
Studio debug engine that works directly on the dmd generated debug info, 
but still misses some features of other debuggers.

There is also ddbg (http://ddbg.mainia.de/) which integrates with other 
IDEs, but it is no longer updated. I don't know how well it works with 
recent dmd releases.

The next Visual D/cv2pdb version will feature gdc support including 
debugging (cv2pdb will convert the DWARF info to pdb).

Rainer


More information about the Digitalmars-d-debugger mailing list