gdb and gtk



I am trying to write a new widget, and I've managed to get as far as the
drawing routines. But something isn't working right and I need to debug
it. However, and this may be just an incredibly simple issue, when I try
to use gdb I can't get any useful debugging information.

On any given function, I can set watches on some of my variables, but I
get "not defined in current context" errors for others (they are
defined, btw). Does anybody know what is going on here? I have my
program compiled with -g and I even recompiled the gtk library with -g,
but that doesn't help.

-Chris




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]