diff --git a/indra/llcommon/llleap.cpp b/indra/llcommon/llleap.cpp
index beb7fa8333ccdd6861c9e4040a3f69c3d8120c02..34f77c3f3a489f4d0ddd7d273e2a9b779e14236e 100644
--- a/indra/llcommon/llleap.cpp
+++ b/indra/llcommon/llleap.cpp
@@ -237,6 +237,8 @@ class LLLeapImpl: public LLLeap
                 // Saw length prefix, saw colon, life is good. Now wait for
                 // that length of data to arrive.
                 mExpect = expect;
+                LL_DEBUGS("LLLeap") << "got length, waiting for "
+                                    << mExpect << " bytes of data" << LL_ENDL;
                 // Block calls to this method; resetting mBlocker unblocks
                 // calls to the other method.
                 mBlocker.reset(new LLEventPump::Blocker(mStdoutConnection));
@@ -268,6 +270,8 @@ class LLLeapImpl: public LLLeap
         if (childout.size() >= mExpect)
         {
             // Ready to rock and roll.
+            LL_DEBUGS("LLLeap") << "needed " << mExpect << " bytes, got "
+                                << childout.size() << ", parsing LLSD" << LL_ENDL;
             LLSD data;
             LLPointer<LLSDParser> parser(new LLSDNotationParser());
             S32 parse_status(parser->parse(childout.get_istream(), data, mExpect));