How to debug wayland?

Kristian Høgsberg krh at
Fri Nov 5 13:00:46 PDT 2010

On Fri, Nov 5, 2010 at 4:22 AM, Arthur Zhu
<xiaoxiaomuyusajiangtian at> wrote:
> Hi, everyone:
> have -g option for GCC_CFLAGS, but it seems to do nothing.

What's the problem?  gdb works fine for me, but since the change to
automake, you'll need to run it with libtool:

  $ libtool --mode=execute gdb compositor

The X compositor is easy to debug, but if you're trying to track down
a problem in the kms compositor, you'll probably need two laptops.


More information about the wayland-devel mailing list