[英]How debug or trace DBus?
I writing Dbus service implementing some protocol. 我编写实现某些协议的Dbus服务。 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. 我插入了很多
logger.debug()
。
Service is python, client is c. 服务是python,客户端是c。
How to specify path or service to monitor in dbus-monitor
with sender and reciever? 如何在发送者和接收者的
dbus-monitor
指定要监视的路径或服务?
dbus-monitor "sender=org.freedesktop.Telepathy.Connection.******"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.