aboutsummaryrefslogtreecommitdiffstats
path: root/docbook/wsdg_src/WSDG_chapter_sources.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docbook/wsdg_src/WSDG_chapter_sources.adoc')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_sources.adoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_sources.adoc b/docbook/wsdg_src/WSDG_chapter_sources.adoc
index 779e46af40..bad8cb8638 100644
--- a/docbook/wsdg_src/WSDG_chapter_sources.adoc
+++ b/docbook/wsdg_src/WSDG_chapter_sources.adoc
@@ -296,11 +296,12 @@ 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:
+Additional traps can be set on Wireshark by setting the `WIRESHARK_LOG_FATAL`
+environment variable:
[source,sh]
----
-$ G_DEBUG=fatal_criticals gdb wireshark
+$ WIRESHARK_LOG_FATAL=critical gdb wireshark
----
If you're encountering memory safety bugs, you might want to build with