Difference between revisions of "Debuggers"

From D Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
 +
== Debugging support by compiler and platform: ==
 +
 +
 +
{| class="wikitable"
 +
|-
 +
! Compiler/Platform
 +
! Format
 +
! Debugger
 +
! Supported functionality
 +
|-
 +
| '''DMD-Win32'''
 +
| OMF
 +
| [http://www.dsource.org/projects/visuald VisualD (VisualStudio)]
 +
| Good support: Breakpoints; Stack frames; Mostly pretty names ('.' shows up as '@'); Variable inspection;
 +
|-
 +
| '''DMD-Win32'''
 +
| OMF
 +
| [http://ddbg.mainia.de ddbg]
 +
| Doesn't seem to be working well. Project no longer maintained.
 +
|-
 +
| '''DMD-Win64'''
 +
| COFF
 +
| [http://www.dsource.org/projects/visuald 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;
 +
|-
 +
| '''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
 +
| ?
 +
|}
 +
 +
 +
 
{{Projects
 
{{Projects
 
  | Projects =
 
  | Projects =

Revision as of 12:17, 16 October 2013

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 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;
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 ?



Title / InfoDescriptionLicensePlatform
Icon dpackage 48.png
Modular debugger for C/C++/D programming languages (and virtually anything else that supports Stabs/DWARF debug formats), Includes Gtkmm-based GUI, and Python scripting framework. Boost 1.0 Windows/POSIX
Icon dpackage 48.png
Graphical frontend to the GDB debugger, which supports full D syntax from version 7.2. GPL Linux
Icon dpackage 48.png
Command line frontend to the GDB debugger, which supports full D syntax from version 7.2.Shows code and the GDB console in split windows. GPL Linux