So we all know how awesome Telepathy is, but sometimes debugging it can be rather a pain. I die a little every time I see "so, just run gabble from the command line with GABBLE_DEBUG=all etc" on #telepathy.

Daf started implementing a debug interface in gabble but he fled the country, so I finished it off, and added a hot new dialog to Empathy.

So now that your debug messages are appearing on D-Bus, you could easily write a simple script to tweet them. Sounds like a good idea, right?

Additionally, if you're a Telepathy developer, this may be overkill^Wuseful for your zshrc:

g () {
    project=$(basename `pwd`)
    GABBLE_DEBUG=all SALUT_DEBUG=all EMPATHY_DEBUG=all HAZE_DEBUG=all \
        GABBLE_PERSIST=1 SALUT_PERSIST=1 HAZE_PERSIST=1  EMPATHY_SRCDIR=. \
        libtool --mode=execute gdb -q --args ./src/$project --g-fatal-warnings
}
Posted Sat 02 May 2009 00:31:29 BST Tags:
Add a comment