Use GNOME Looking Glass for debugging

My PyQt GUI book Create Simple GUI Applications has been updated, with new chapters on Qt Designer and multithreading. Get it here.

Looking Glass is GNOME Shell's integrated inspector tool and JavaScript console useful for debugging.

method/1497/shortcuts-looking-glass.png

Open the run prompt by pressing Alt+F2

Enter lg to start Looking Glass

Commands can be entered directly at the prompt e.g. global.get_window_actors()

step/7348/Screenshot at 2012-05-03 20:15:22.png

Exit at any time by pressing Esc

This method is based, with permission, on an original protocol available here.