Set the following environment variable G_MESSAGES_DEBUG=all
. This will allow you to see messages you print with debug
in Vala.
If you try and set_text
on a Gtk.Label
a string which might contain markup characters (<>&
), you need to escape them first, using GLib.Markup.escape_text
.