Hi,
On 01.02.2012 11:31, Gyula Gubacsi wrote:
Hi,
Can somebody update me on how the compiler/debugger implementations
are going on the 3 main platforms? What are you using, which is the
most useful for D applications? To my knowledge, the situation is like
this:
* Windows: DMD-> producing CodeView debug info format. -> No GDB support.
Old version of WinDBG is in the D bundle.
GDC ?
With the help of cv2pdb (http://dsource.org/projects/cv2pdb) the dmd
generated debug information can be converted to a pdb file, so you can
use most C++ debuggers including Visual Studio.
Visual D (http://www.dsource.org/projects/visuald) includes cv2pdb, but
also mago (http://dsource.org/projects/mago_debugger). mago is a Visual
Studio debug engine that works directly on the dmd generated debug info,
but still misses some features of other debuggers.
There is also ddbg (http://ddbg.mainia.de/) which integrates with other
IDEs, but it is no longer updated. I don't know how well it works with
recent dmd releases.
The next Visual D/cv2pdb version will feature gdc support including
debugging (cv2pdb will convert the DWARF info to pdb).
Rainer