Debug Environments
|
Windows
Ddbg
a Win32 command line debugger for the D Programming Language
DigDug
Project Page- Though it's been mothballed, it is open source and should demonstrate implementing some debugging functions.
MSDEV (MS Visual Studio)
Visual Studio versions newer than 6.0 does not support DMD's CodeView? debug format. Use the Some notes and tips: MS Visual Studio
MS Visual C++ 6.0
- Compile with -g.
- Open the .exe with File->Open.
- Open a source code file the same way.
- Set a breakpoint with F9.
- Press F5, and you're debugging.
- Look inside the executable to figure out how the symbols are mangled, so you can add watches.
WinDbg/CDB
Unix
GDB - Gnu Debugger
Debugger for systems like Linux and Darwin, for the DMD (X86 Linux) and GDC compilers.
Debugging info is added by compiling with the -g flag:
|
Starting the debugger is done with:
|
Set some breakpoints or something, and then do:.......... Could somebody add a bit more to explain this? Its pretty vague
|
Also works with
Descent
GDB Hacking
I have a patch on DSource for GDB 6.3. It adds symbol demangling support as well as recognition of D's DWARF identifier, which is necessary when one compiles a D program using the -g switch. It's a work in progress, so expect more in the future.
ZeroBUGS
D Debugger Newsgroup
For all things related to using debuggers with D.
- usenet interface:
news://news.digitalmars.com/digitalmars.D.debugger - Wiki4D shortcut example: "
NG:digitalmars.D.debugger/1"
archived threads- Web interfaces:
Related
FolderEnvironments