Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Team/FAQ
(view source)
Revision as of 00:50, 3 April 2017
467 bytes added
,
00:50, 3 April 2017
→How do I use debugging output and how do I set the debug level?
Line 151:
Line 151:
export SUGAR_LOGGER_LEVEL=debug
export SUGAR_LOGGER_LEVEL=debug
+
+
==== How do I use the Gtk+ Inspector? ====
+
+
For Gtk+ 3.0 activities, an interactive inspector is available.
+
+
Set the GTK_DEBUG environment variable to ''interactive'' before running an activity, like this;
+
+
cd Activities/HelloWorld.activity
+
GTK_DEBUG=interactive sugar-activity .
+
+
Because Sugar Gtk+ activities are full screen, use Alt+Tab or Alt+Shift+Tab to switch between the inspector and the activity.
+
+
See also https://wiki.gnome.org/Projects/GTK+/Inspector
Quozl
Administrators
1,286
edits