Debuggers
Debugging support by compiler:
Compiler+Platform | Format | Debugger | Supported functionality |
---|---|---|---|
DMD-Win32 | OMF | Mago/VisualD | Good support: Breakpoints; Stack frames; Mostly pretty names ('.' shows up as '@'); Variable inspection; Visual Studio based. |
WinDbg | Supplied with the main D compiler zip file download. Overview | ||
ddbg | Doesn't seem to be working well. Project no longer maintained. | ||
DMD-Win64 | COFF | Mago/VisualD | TODO: same level of support as for win32? |
DMD-Linux |
DWARF | GDB | Good support: Breakpoints; Stack frames; Pretty names; Variable inspection; |
ZeroBUGS | "Modular debugger for C/C++/D programming languages (and virtually anything else that supports Stabs/DWARF debug formats)". Supported debugging functionality?? | ||
LDC-MinGW | DWARF | - | DWARF debug symbol info seems to be broken for LLVM compiled with MinGW note |
DMD-MacOS |
? | GDB | Limited/outdated support? According to Jacob Carlberg:
"D symbols need to be prefixed with an extra underscore." "Line numbers don't work." |
LLDB | ? |
Graphical debugger frontends:
Frontends providing support to a command-line debugger mentioned in the previous section.