summaryrefslogtreecommitdiff
path: root/Software/DbusTools.mdwn
blob: bcd319f0f4e4d19389d61c795d4764ea4ddf4043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

If you find yourself developing or debugging D-Bus services or applications which use them, you might find some of these tools useful. 


## Command-line


### Calling remote APIs

`dbus-send`, distributed with D-Bus, allows you to invoke methods on services from the command line. `gdbus` and `qdbus`, shipped with GLib and Qt respectively, provide (arguably) nicer command-line syntax and output for essentially the same task. 


### Monitoring bus traffic

`dbus-monitor`, distributed with D-Bus, prints out traffic on the bus. You can filter the output by passing [[match rules|http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-routing-match-rules]] as arguments. 

The `gdbus monitor` subcommand lets you monitor a particular remote object. 


## Graphical


### D-Feet

Shows the object hierarchy exposed by running services, allowing you to call the methods you see. [[More information.|https://live.gnome.org/DFeet]] 


### Bustle

Records D-Bus traffic (like dbus-monitor) and shows it as a sequence diagram, with built-in filtering and statistics. [[More information.|http://www.willthompson.co.uk/bustle/]]