Skip to content
Snippets Groups Projects
Commit e7d12987 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Add a couple LLLeap DEBUG messages for incoming-events control flow.

parent 674f9fb1
No related branches found
No related tags found
No related merge requests found
...@@ -237,6 +237,8 @@ class LLLeapImpl: public LLLeap ...@@ -237,6 +237,8 @@ class LLLeapImpl: public LLLeap
// Saw length prefix, saw colon, life is good. Now wait for // Saw length prefix, saw colon, life is good. Now wait for
// that length of data to arrive. // that length of data to arrive.
mExpect = expect; mExpect = expect;
LL_DEBUGS("LLLeap") << "got length, waiting for "
<< mExpect << " bytes of data" << LL_ENDL;
// Block calls to this method; resetting mBlocker unblocks // Block calls to this method; resetting mBlocker unblocks
// calls to the other method. // calls to the other method.
mBlocker.reset(new LLEventPump::Blocker(mStdoutConnection)); mBlocker.reset(new LLEventPump::Blocker(mStdoutConnection));
...@@ -268,6 +270,8 @@ class LLLeapImpl: public LLLeap ...@@ -268,6 +270,8 @@ class LLLeapImpl: public LLLeap
if (childout.size() >= mExpect) if (childout.size() >= mExpect)
{ {
// Ready to rock and roll. // Ready to rock and roll.
LL_DEBUGS("LLLeap") << "needed " << mExpect << " bytes, got "
<< childout.size() << ", parsing LLSD" << LL_ENDL;
LLSD data; LLSD data;
LLPointer<LLSDParser> parser(new LLSDNotationParser()); LLPointer<LLSDParser> parser(new LLSDNotationParser());
S32 parse_status(parser->parse(childout.get_istream(), data, mExpect)); S32 parse_status(parser->parse(childout.get_istream(), data, mExpect));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment