Index: runtime/bin/eventhandler.h |
diff --git a/runtime/bin/eventhandler.h b/runtime/bin/eventhandler.h |
index c110d343dcab9d2779d03568e5ed2b33ba3b9b22..a5994b03e78a4b9c0d6e81cff7af4d21c9884ccf 100644 |
--- a/runtime/bin/eventhandler.h |
+++ b/runtime/bin/eventhandler.h |
@@ -557,6 +557,10 @@ class DescriptorInfoMultipleMixin : public DI { |
if (!disable_tokens_) { |
pentry->token_count += count; |
} |
+ if ((!(pentry->token_count <= kTokenCount)) || (pentry->token_count < -50)) { |
+ fprintf(stderr, "pentry->token_count: %p kTokenCount: %i\n", |
+ reinterpret_cast<void*>(pentry->token_count), kTokenCount); |
+ } |
ASSERT(pentry->token_count <= kTokenCount); |
bool is_ready = pentry->token_count > 0 && pentry->IsReady(); |
if (!was_ready && is_ready) { |