4 ms·
A better way to debug Wayland
- secure 8y agoNeat! It’s like xtrace (https://github.com/yuq/xtrace https://github.com/yuq/xtrace), but for Wayland. Many years ago I wrote https://x11vis.org/ https://x11vis.org/ (it’s not that well-maintained, but works for me). It offers interactive filtering and a bunch of smarts that come in handy for debugging X11 wire protocol. Think Wireshark, but purpose-built for X11.
- emersion 8y agoNote that as opposed to xtrace and Wireshark, it isn't a proxy. It either parses libwayland's output or is a GDB plugin that integrates with libwayland.
- emersion 8y agoList of other tools to debug Wayland (scroll down to "Debugging tools"): https://wayland.freedesktop.org/extras.html https://wayland.freedesktop.org/extras.html
- daniel_olivier 8y agoI wish people would use something like LTTng, or some other solution that could "industrialize" logging/tracing, because every module or program, independant of language, potentially needs to be debugged/monitored, eventually.