Make APPLY debug output print current index and codepoint
authorBehdad Esfahbod <behdad@behdad.org>
Fri, 11 May 2012 01:45:28 +0000 (03:45 +0200)
committerBehdad Esfahbod <behdad@behdad.org>
Fri, 11 May 2012 01:56:33 +0000 (03:56 +0200)
Yay!

src/hb-ot-layout-gsubgpos-private.hh

index 9471ad3..904c344 100644 (file)
@@ -98,7 +98,7 @@ struct hb_closure_context_t
 #endif
 
 #define TRACE_APPLY() \
-       hb_auto_trace_t<HB_DEBUG_APPLY> trace (&c->debug_depth, "APPLY", this, HB_FUNC, "");
+       hb_auto_trace_t<HB_DEBUG_APPLY> trace (&c->debug_depth, "APPLY", this, HB_FUNC, "idx %d codepoint %u", c->buffer->idx, c->buffer->info[c->buffer->idx].codepoint);