J5’s Blog

December 7, 2007

Announcing D-Feet – a D-Bus Debugger

Filed under: D-Bus, Python — J5 @ 4:20 pm

I’ve been playing around with a little tool for debugging applications on the bus. It is far from done but I decided to release it now that it has become useful. Right now you can see all names on the Session and System buses and get information on the objects and interfaces they export.

Current Features

  • View names on the session and system bus
  • View exported objects, interfaces, methods and signals
  • View the full command line of services on the bus
  • Execute methods with parameters on the bus and see their return values

Planed Features

  • Attach to any address
  • Watch, edit and play back method calls
  • Watch signals
  • Attach scripted actions to triggers
  • Profiler for D-Bus calls
  • Assistant for creating async call chains

Info

Homepage: http://hosted.fedoraproject.org/projects/d-feet/
Tarball: http://johnp.fedorapeople.org/d-feet-0.1.4.tar.gz
Fedora: yum install d-feet
(Should be built for Rawhide, F-8 and F-7 though it may take a bit to be pushed as an update to F-8 and F-7)

[read this post in: ar de es fr it ja ko pt ru zh-CN ]

12 Comments

  1. I take it that you are aware of dbus-inspector (also pygtk).

    http://www.vitavonni.de/projekte/dbus-inspector.html.en
    http://svn.gnome.org/viewvc/dbus-inspector/

    I have used it with good success

    Comment by John Stowers — December 7, 2007 @ 5:02 pm

  2. Nice :-)
    Do you know http://svn.gnome.org/viewvc/dbus-inspector/trunk/ from http://www.vitavonni.de/projekte/dbus-inspector.html.en ?

    Comment by Florian Steinel — December 7, 2007 @ 5:30 pm

  3. > View names on the session and system bus
    > View exported objects, interfaces, methods and signals
    > Execute methods with parameters on the bus and see their return values

    All this is already available in qdbusviewer in qt4-devel and has been for months. :-)

    The “full command line” is a nice feature though and the planned features are even nicer.

    Comment by Kevin Kofler — December 7, 2007 @ 6:06 pm

  4. The project was twofold to get me back into Gtk+ development and to really take my knowledge of D-Bus’s internals into an all encompassing tool. I work primarily with python and Gtk+ so while there may be a good Qt tool it doesn’t really interest me though I think we can learn something from each other.

    As for dbus-inspector I completely knew about that codebase and looked at it briefly but came to the conclusion that the internals weren’t attacking D-Bus from quite the right direction.

    That being said, this is just one of my pet projects to keep me sane and competition is welcome :)

    Comment by J5 — December 7, 2007 @ 6:29 pm

  5. You do realise that your tarball link is pointing at a screenshot?

    Comment by Ed Catmur — December 7, 2007 @ 8:03 pm

  6. Thanks, fixed

    Comment by J5 — December 7, 2007 @ 8:11 pm

  7. Ah-ehm. What about dbus 1.2.0?

    Comment by disarm — December 7, 2007 @ 8:15 pm

  8. Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=201639

    Comment by Ed Catmur — December 7, 2007 @ 8:17 pm

  9. Sorry for being OT but I really like the logo. Was it made with the Gimp and if so how? Thanks!

    Comment by Pieter — December 7, 2007 @ 9:34 pm

  10. Pieter,

    Not OT at all. You have Nicu Buculei of the Fedora Art team to thank for the logo. It is done in inkscape as an svg and converted down to png for the web. Here is the end of that thread which contains the svg sources:

    https://www.redhat.com/archives/fedora-art-list/2007-December/msg00030.html

    Comment by J5 — December 8, 2007 @ 2:33 am

  11. Let me suggest to you, as an improvement over dbus-viewer, qdbus, kdbus and their ilk, to be able to add more buses other than system & session. Once you implement that, I’m going to show you something cool with it :)

    Comment by josef — December 8, 2007 @ 4:40 am

  12. greatings…

    agree…

    Trackback by more — December 16, 2007 @ 12:26 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress