You can debug using command-line debuggers such as gdb, dbx, or lldb. If you prefer a graphic debugger, you can use the Data Display Debugger (ddd).
Additional traps can be set on GLib by setting the G_DEBUG
environment variable:
$ G_DEBUG=fatal_criticals ddd wireshark
See http://library.gnome.org/devel/glib/stable/glib-running.html
You can debug using the Visual Studio Debugger or WinDbg. See the section on using the Debugger Tools.