Difference between revisions of "Debuggers"
(→Debugging support by compiler and platform:) |
(cleaned up debugging support table) |
||
Line 1: | Line 1: | ||
− | == Debugging support by compiler | + | == Debugging support by compiler: == |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! Compiler | + | ! Compiler+Platform |
! Format | ! Format | ||
! Debugger | ! Debugger | ||
! Supported functionality | ! Supported functionality | ||
|- | |- | ||
− | | '''DMD-Win32''' | + | |rowspan="3"| '''DMD-Win32''' |
− | | OMF | + | |rowspan="3"| OMF |
− | | [http://www.dsource.org/projects/visuald VisualD (VisualStudio)] | + | | [http://www.dsource.org/projects/visuald Mago/VisualD (VisualStudio)] |
| Good support: Breakpoints; Stack frames; Mostly pretty names ('.' shows up as '@'); Variable inspection; | | Good support: Breakpoints; Stack frames; Mostly pretty names ('.' shows up as '@'); Variable inspection; | ||
|- | |- | ||
− | |||
− | |||
| [http://dlang.org/download.html WinDbg] | | [http://dlang.org/download.html WinDbg] | ||
| Supplied with the main D compiler zip file download. [http://dlang.org/windbg.html Overview] | | Supplied with the main D compiler zip file download. [http://dlang.org/windbg.html Overview] | ||
|- | |- | ||
− | |||
− | |||
| [http://ddbg.mainia.de ddbg] | | [http://ddbg.mainia.de ddbg] | ||
| Doesn't seem to be working well. Project no longer maintained. | | Doesn't seem to be working well. Project no longer maintained. | ||
Line 30: | Line 26: | ||
| TODO: same level of support as for win32? | | TODO: same level of support as for win32? | ||
|- | |- | ||
− | | '''DMD-Linux''' | + | |rowspan="2"| |
− | + | '''DMD-Linux''' <br/> | |
− | + | '''GDC-Linux''' <br/> | |
− | + | '''LDC-Linux''' <br/> | |
− | + | '''GDC-Win32/64''' | |
− | + | |rowspan="2"| DWARF | |
− | '''GDC- | + | | [https://sourceware.org/gdb/onlinedocs/gdb/D.html#D GDB] |
− | | DWARF | ||
− | | GDB | ||
| Good support: Breakpoints; Stack frames; Pretty names; Variable inspection; | | Good support: Breakpoints; Stack frames; Pretty names; Variable inspection; | ||
|- | |- | ||
− | |||
− | |||
| [http://zerobugs.codeplex.com/ ZeroBUGS] | | [http://zerobugs.codeplex.com/ ZeroBUGS] | ||
| "Modular debugger for C/C++/D programming languages (and virtually anything else that supports Stabs/DWARF debug formats)". Supported debugging functionality?? | | "Modular debugger for C/C++/D programming languages (and virtually anything else that supports Stabs/DWARF debug formats)". Supported debugging functionality?? | ||
|- | |- | ||
− | | '''GDC-MacOS''' | + | | '''LDC-MinGW''' |
− | | ? | + | | DWARF |
+ | | - | ||
+ | | DWARF debug symbol info seems to be broken for LLVM compiled with MinGW [http://forum.dlang.org/post/qsttkqzbtnhyrogekppn@forum.dlang.org note] | ||
+ | |- | ||
+ | |rowspan="2"| | ||
+ | '''DMD-MacOS''' <br/> | ||
+ | '''GDC-MacOS''' <br/> | ||
+ | '''LDC-MacOS''' | ||
+ | |rowspan="2"| ? | ||
| GDB | | GDB | ||
| Limited/outdated support? According to Jacob Carlberg: | | Limited/outdated support? According to Jacob Carlberg: | ||
Line 53: | Line 53: | ||
"Line numbers don't work." | "Line numbers don't work." | ||
|- | |- | ||
− | |||
− | |||
| LLDB | | LLDB | ||
| ? | | ? | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Revision as of 18:52, 9 April 2014
Debugging support by compiler:
Compiler+Platform | Format | Debugger | Supported functionality |
---|---|---|---|
DMD-Win32 | OMF | Mago/VisualD (VisualStudio) | Good support: Breakpoints; Stack frames; Mostly pretty names ('.' shows up as '@'); Variable inspection; |
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 | VisualD (VisualStudio) | 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.