I writing Dbus service implementing some protocol. My service sends to client message with unexpected data (library i used has some bugs, that i want to overwrite).

How to inspect, trace client calls? I want to determine what client wants and locate buggy method.

Or how to trace all calls in service? I has much of logger.debug() inserted.

Service is python, client is c.

How to specify path or service to monitor in dbus-monitor with sender and reciever?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top