Debuggers
Debugging support by compiler and platform:
Compiler/Platform | Format | Debugger | Supported functionality |
---|---|---|---|
DMD-Win32 | OMF | VisualD (VisualStudio) | Good support: Breakpoints; Stack frames; Mostly pretty names ('.' shows up as '@'); Variable inspection; |
DMD-Win32 | OMF | WinDbg | Supplied with the main D compiler zip file download. |
DMD-Win32 | OMF | ddbg | Doesn't seem to be working well. Project no longer maintained. |
DMD-Win64 | COFF | VisualD (VisualStudio) | TODO: same level of support as for win32? |
DMD-Linux | DWARF on PE | GDB | same as GDC-Linux? |
GDC-Win32/64
GDC-Linux |
DWARF | GDB | Good support: Breakpoints; Stack frames; Pretty names; Variable inspection; |
any? | DWARF | ZeroBUGS | "Modular debugger for C/C++/D programming languages (and virtually anything else that supports Stabs/DWARF debug formats)". Supported debugging functionality?? |
GDC-MacOS | ? | GDB | Limited/outdated support? According to Jacob Carlberg:
"D symbols need to be prefixed with an extra underscore." "Line numbers don't work." |
LDC | ? | LLDB | ? |
Win32 | ? | Mago | Mago Debugger is a set of libraries and a Visual Studio plug-in for debugging D programs on Windows. The main goal is to provide a complete Windows debugger dedicated to the D programming language. |