[gtkmm] libglademm and gdb



Hi!

Can anyone tell me how I can set breakpoints inside my widget implementation when I use the libglademm get_widget_derived() method?

gdb seems to ignore my breakpoints! :-(

For example, trying to debug the "derived" example:

----------------------------------------------------------

[palm localhost derived]$ gdb .libs/derived
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) break DerivedDialog::DerivedDialog
[0] cancel
[1] all
[2] DerivedDialog at deriveddialog.cc:25
[3] DerivedDialog at deriveddialog.cc:25
> 1
Breakpoint 1 at 0x804cf64: file deriveddialog.cc, line 25.
Note: breakpoint 1 also set at pc 0x804cf64.
Breakpoint 2 at 0x804cf64: file deriveddialog.cc, line 25.
warning: Multiple breakpoints were set.
warning: Use the "delete" command to delete unwanted breakpoints.
(gdb) run
Starting program: /mnt/test/work/gtk/libglademm-2.1.0/examples/derived/.libs/derived

Program exited normally.
(gdb)




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