On Wed, Aug 3, 2011 at 10:00 AM, Bruno Medeiros <brunodomedeiros+spam@com.gmail> wrote:
On 03/08/2011 17:46, Bruno Medeiros wrote:
The question remains on what to do with regards to DMD debugging. It may
easy enough to add support in Eclipse to an existing debugger, but if
the debugger doesn't exist or is unsupported, it's a crappy situation.

Clarification: I meant DMD debugging on Windows. I assume DMD works fairly well on Linux, since it generates debug info (DWARF on ELF?) that GDB understands. Is this correct?

--
Bruno Medeiros - Software Engineer

With -g, it crashes GDB. With -gc, there's debug info, but all the symbol names seem to be mangled. Maybe I was just looking in the wrong place, but the few times I've tried to debug things compiled with -gc, I've rarely been able to find the symbol I wanted. I'm not sure why.

As a note, you can currently build using GDC if you modify the arguments in the response file and use xargs to invoke GDC using the response file.