[HarfBuzz] building debug

Behdad Esfahbod behdad at behdad.org
Thu Nov 29 23:18:58 PST 2012


On 12-11-26 05:33 AM, Martin Hosken wrote:
> Dear All,
> 
> Probably a dumb question, but how do I build harfbuzz with debug turned on? I was hoping for a --enable-debug option to configure or some such.

Either:

  make CPPFLAGS=-DHB_DEBUG=100

or:

  ./configure CPPFLAGS=-DHB_DEBUG=100

Depending on what debug output you are interested in, you can substitute
HB_DEBUG with HB_DEBUG_APPLY, HB_DEBUG_SANITIZE, etc.

The debug output is not as helpful as it could possibly be though...

behdad



More information about the HarfBuzz mailing list