summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-11-05 13:21:52 +0100
committerGuido Günther <agx@sigxcpu.org>2016-11-05 13:21:52 +0100
commitb529bb11b62262c07547a9d67a7e4eb3a0ac0043 (patch)
tree6983b22306128a401f6e3f23a0d6249795a897ce /development
parent3a740072eaa57ff7b147069ce92822e8e82bdd08 (diff)
G_DEBUG_MESSAGES
Diffstat (limited to 'development')
-rw-r--r--development/debugging.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/development/debugging.mdwn b/development/debugging.mdwn
index feef8b5..1b0369a 100644
--- a/development/debugging.mdwn
+++ b/development/debugging.mdwn
@@ -75,6 +75,14 @@ To abort on the first encountered glib/GTK+ warning use:
<program> --g-fatal-warnings
+## Printing Glib messages
+
+Print all messages:
+
+ G_MESSAGES_DEBUG=all <program>
+
+See the [Glib manual][] for details.
+
# Other tools
* valgrind
* strace, ltrace
@@ -90,3 +98,4 @@ And when debugging GTK+ related problems:
aptitude install libglib2.0-0-dbg libgnutls26-dbg libgtk2.0-0-dbg libpcre3-dbg vim-syntax-gtk gtkparasite
+[Glib manual]: https://developer.gnome.org/glib/stable/glib-running.html