Previous: , Up: Debugging the tools   [Contents][Index]


11.1.3 Debug C code based on Glib and GTK

Sometimes you may encounter critical warnings by glib or gtk, which look like this:

GLib-GObject-CRITICAL **: ...

In order to debug them, you need to know the way of reproducing them. Then, you can use the following command to fiddle with them in gdb:

G_DEBUG=fatal_criticals gdb --args \
  guile -s /usr/local/bin/lepton-schematic