Debugging signals in GTK+
So I ran over an odd signal flow in the GTK+, and I needed to get helpful debug information. Daniel quickly pointed me to the GTypeDebugFlags, which contains the pro-tip to use the environment variable GOBJECT_DEBUG instead (the glib docs that come with the source has the same advice)[1]. Great!
$ GOBJECT_DEBUG=signals my_gtk_app
and I was able to kill the bug.
[1] May need recompilation of glib with debugging enabled.
Comments
No comments yet.
Post a Comment
This site's webmaster failed misserably in upgrading the underlaying web framework.
The comment system is entirely broken right now. Sorry!