How to debug ?

bioinfornatics via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 24 04:50:08 PDT 2014


On Saturday, 24 May 2014 at 10:14:23 UTC, Derix wrote:
> OK, I have the newest Eclipse+DDT on Linux.
>
> Debugging capabilies look great :
> https://github.com/bruno-medeiros/DDT/blob/latest/documentation/Features.md#debugging-functionality
>
> However so far I haven't been able to step throug source code.
> What am I missing ? Is there an option to pass to the compiler ?
> Yet another tweak to json.dub ?

Hi,

To debug you nee to use -g flag to compiler
I use cgdb to debug D programm it wrap gdb and have a syntax
color for D. You need to take a recent cgdb version to get his D
support


More information about the Digitalmars-d-learn mailing list