dbus-monitor: how to see return values?

Timo Juhani Lindfors timo.lindfors at iki.fi
Sat Nov 8 09:04:15 PST 2008


I have

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
  <policy user="bin">
    <allow eavesdrop="true"/>

in /etc/dbus-1/system-local.conf and can use

sudo su bin -c "dbus-monitor --system"

to see method calls like

method call sender=:1.5 -> dest=:1.0

I looked at the source code of dbus and noticed that in dbus-monitor

dbus_bus_add_match (connection,

so at least dbus-monitor is asking to see method return values.

Any idea if I'm doing something wrong here? Does dbus-monitor show
return values for you? Being able to see method return values would
greatly help in debugging.

best regards,
Timo Lindfors

More information about the dbus mailing list