Hi, The following are the ways in which a Protocol Dumper can be implemented: 1. Just before sending a message or when a message is received, the message can be written to a file. This change can be done in libwayland under #ifdef DEBUG. So when built enabling DEBUG, we should get all the protocol messages. 2. We can introduce another layer in Weston for monitoring. This layer would act as Man in the middle. This layer would listen to a socket to which all the Wayland clients would attach and this layer would in turn attach to the server socket. This layer would print the messages it received from the client and would transfer to the server and vise a versa. This could be included in #ifdef DEBUG, so that it is enabled only in DEBUG builds.
I feel the 1st approach is simpler, What are your thoughts? Thank-you, Hebbar _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel