[gimp] devel-docs: update devel-docs on how to start GtkInspector.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] devel-docs: update devel-docs on how to start GtkInspector.
- Date: Mon, 21 May 2018 20:32:33 +0000 (UTC)
commit 2101810c234d5672554c953f4e10bd2bf399b60f
Author: Jehan <jehan girinstud io>
Date: Sun May 20 03:18:22 2018 +0200
devel-docs: update devel-docs on how to start GtkInspector.
devel-docs/debugging-tips.txt | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/devel-docs/debugging-tips.txt b/devel-docs/debugging-tips.txt
index 0f3ef81..aba0ae6 100644
--- a/devel-docs/debugging-tips.txt
+++ b/devel-docs/debugging-tips.txt
@@ -48,6 +48,19 @@ But this happens only for crashes, so it still requires to use
Note: on Windows, even the debugging GUI happens only for crashes and
requires that you built with Dr. Mingw dependency.
+## Debugging GTK+ ##
+
+You can use GtkInspector by running GIMP with:
+
+> GTK_DEBUG=interactive gimp-2.99
+
+Alternatively you may also start it at anytime with ctrl-shift-d
+shortcut, if you first enable with:
+
+> gsettings set org.gtk.Settings.Debug enable-inspector-keybinding true
+
+See also: https://wiki.gnome.org/Projects/GTK%2B/Inspector
+
## Debugging GEGL code ##
You may encounter this kind of warning upon exiting GIMP:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]