Comment 4 for bug 1680891

Revision history for this message
Dan MacDonald (allcoms) wrote :

Thanks for your tips Stephen, although I still haven't quite figured how to debug/test Term plugins. When I use the -d flag to start terminator, I get some debug output but I can't see anything relating to SSHMenu or plugins. If I use `--debug-classes SSHMenu`, with or without -d, I get no output at all.

I took note of what you said regarding SSHMenu not having any debug statements so I just stuck a random print statement within the __init__ method of the SSHMenu class but I don't see this being printed to the console from where I launched terminator (with the -d flag). The debug output seems to stop as soon as the term window is shown and I would presume my print statement would be expected to appear when the plugin is launched, not when terminator is loaded, right?

I've never done anything with (Py)GTK. I hope its as easy as PyQt as I found that quite straightforward, even for a total newb to GUI dev. I'll prob have to do some reading on PyGTK before I can make any progress with this but this could help:

http://dumbmatter.com/2012/02/some-notes-on-porting-from-pygtk-to-pygobject/

Thanks