G_DEBUG=fatal_warnings gdb --args foo.binary arg1 arg2
in gdb, it will crash at some point and if you compiled your program
with -g or -ggdb the `backtrace` command will give you some meaningful
information
For more see:
https://developer.gnome.org/glib/stable/glib-running.html
https://developer.gnome.org/gtk3/stable/gtk-running.html
On Mon, Feb 17, 2014 at 9:44 AM, Wiky <wii...@yeah.net> wrote:
Hi,all. I'm currently writing a program based Gtk+-3.0.
When it runs, I get '(a.out:10874): Gtk-WARNING **: Failed to ...' in
the terminal.
I know the problem is about GtkLabel, but I really don't know which
GtkLabel.
Is there a way to locate the line numer that give the warning?
Sorry for my english
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list