I've started writing a scope for the Unity Dash, but it seems not to return results.
I'd like to find out why: how can I debug my scope?
Scopes are normally activated by DBus, which makes them a bit trickier to debug. But at the same time they’re normal processes and can be run manually so that any warnings or debug statements are easily visible.
The recommendation is to start your scope manually from the command line and use the traditional debugging tools, such as gdb, valgrind, strace etc. Since scopes use DBus for internal IPC, a DBus monitor tool (such as Bustle) can be handy if you suspect any problems in this area.
You can also use the libunity-tool debugger, simply executing it's GUI from the command line