
One thing we’ve run into at VMware is that developing GTK+ applications can be hard. Especially when creating and editing UI elements from code (as opposed to Glade), it’s sometimes challenging to debug problems. If a button isn’t showing up the right size, or something is aligned incorrectly, it could be any number of problems.
In order to address this, we’ve started development on a new debugging tool, which we’re calling Parasite. The name comes from the fact that it runs in-process with another application (specifically, as a GTK+ module) and infests it with introspection capabilities.
There’s a lot that can be said about what it does, but the best place to start is probably a screencast.
There’s a lot more information, some screenshots, and instructions for getting the source at http://chipx86.github.com/gtkparasite/
#1 by Jason 'vanRijn' Kasper on January 19th, 2009
Quote
Heh. Nice job guys! =:) Congrats on the release!!
#2 by Cypher on January 20th, 2009
Quote
One thing we’ve run into at VMware is that developing GTK+ applications can be hard. Especially when creating and editing UI elements from code (as opposed to Glade), it’s sometimes challenging to debug problems. If a button isn’t showing up the right size, or something is aligned incorrectly, it could be any number of problems.
–
Well, use Qt then…
#3 by oliver on January 20th, 2009
Quote
First impression only, but: wow, that looks awesome!
#4 by dflock on January 20th, 2009
Quote
That looks absolutely fantastic! Well done guys!
#5 by Scared individual on January 20th, 2009
Quote
If someone uses Parasite to debug Parasite, will the universe implode?
#6 by blah on January 20th, 2009
Quote
BTW, Gtk will look for the a gtk-modules XSETTING. You can simply add your parasite gtk module there (or in the gconf setting that belongs to it) and all *running* applications will be inspectable. Also, are you aware of g-inspector?
http://sourceforge.net/projects/g-inspector
#7 by Anders on January 20th, 2009
Quote
Wow!
This was the “hit of the day” at my workplace. My colleagues we’re standing in a circle around my desk and looking in awe as this new überkohl piece of software was performing it’s magic!
Thanks!
#8 by behdad on January 24th, 2009
Quote
Am I the only one thinking that this should live in the gtk+ tree?!