You can debug using command-line debuggers such as gdb, dbx, or lldb. If you prefer a graphic debugger, you can use an IDE or debugging frontend such as Qt Creator, CLion, or Eclipse.
Additional traps can be set on GLib by setting the G_DEBUG
environment variable:
$ G_DEBUG=fatal_criticals gdb wireshark
See https://developer.gnome.org/glib/stable/glib-running.html
You can debug using the Visual Studio Debugger or WinDbg. See the section on using the Debugger Tools.