[DGD] Compiling DGD with debug info

Felix A. Croes felix at dworkin.nl
Sat Jul 28 13:24:11 CEST 2007


"Kurt Nordstrom" <kurt at blar.net> wrote:

> Trying to figure out why a kfun isn't working the way I want, and I'd like
> to step through the code with gdb and see what's up.  Problem I'm getting
> is that when I try to set a breakpoint, I get a "no symbol table" message.
>
> Anybody know the easiest way to modify the Makefile so that it includes
> all the good debugging info into the executable when compiled?

You have to add -g to the compilation flags.  The Makefile in the
development branch is set up that way by default.

Regards,
Dworkin



More information about the DGD mailing list