Re-using Gtk2_ExceptionDump
Re-using Gtk2_ExceptionDump – Embedding it in own applications
Re-using Gtk2_ExceptionDump
You can make use of the brain power that went into the development of Gtk2_ExceptionDump by embedding the stack trace treeview into your own application.
There class you want is Gtk2_ExceptionDump_Stack. It's a subclass of GtkTreeView and should be embedded in a GtkScrolledWindow if you use it. The constructor takes the exception object, but it can be omitted and set later by using setException().