Activity Team/FAQ: Difference between revisions

m Remove closed, fixed bug notes
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