How to debug or track DBus?

I am writing a Dbus service that implements some kind of protocol. My service sends a message with unexpected data to the client (there are some errors in the library that I used that I want to rewrite).

How to check, track client calls? I want to determine what the client wants and find the buggy method.

Or how to track all the calls in the service? I have most of logger.debug() .

Service is python, client is c.

How to specify a path or service for monitoring in dbus-monitor with sender and receiver?

+4
source share
1 answer

dbus-monitor "sender=org.freedesktop.Telepathy.Connection.******"

+2
source

Source: https://habr.com/ru/post/1499115/


All Articles