Re: How to locate the 'Gtk-WARNING' line number
- From: David Nečas <yeti physics muni cz>
- To: Wiky <wiiiky yeah net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to locate the 'Gtk-WARNING' line number
- Date: Mon, 17 Feb 2014 10:46:27 +0100
On Mon, Feb 17, 2014 at 04:44:53PM +0800, Wiky 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?
Run it with G_DEBUG=fatal-warnings, let it dump core and look at the
stack trace.
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]