I ran into an issue earlier where I tried to make a .lldbinit file with some lines like this:<br><br>file a.out<br>run<br><br><br>When this happens the process runs, the breakpoint gets hit and I see the source listing, it returns to the lldb prompt, but then I can't type anything.  It appears LLDB is deadlocked inside of Target::Launch() at the following location:<br><br>                if (!synchronous_execution)<br>                    m_process_sp->RestoreProcessEvents ();<br><br>                error = m_process_sp->PrivateResume();<br><br>                if (error.Success())<br>                {<br>                    // there is a race condition where this thread will return up the call stack to the main command<br>                    // handler and show an (lldb) prompt before HandlePrivateEvent (from PrivateStateThread) has<br>                    // a chance to call PushProcessIOHandler()<br>                    m_process_sp->SyncIOHandler(2000);<br><br>                    if (synchronous_execution)<br>                    {<br>                        <br>state = m_process_sp->WaitForProcessToStop (NULL, NULL, true, hijack_listener_sp.get(), stream);<br>                        const bool must_be_alive = false; // eStateExited is ok, so this must be false<br>                        if (!StateIsStoppedState(state, must_be_alive))<br>                        {<br>                            error.SetErrorStringWithFormat("process isn't stopped: %s", StateAsCString(state));<br>                        }<br>                    }<br>                }<br><br>Normally when I'm using LLDB and entering the commands myself, this synchronous_execution value is not set, and everything works as expected.  How is this supposed to work?  What does my plugin need to do differently in order to handle this case?  The process has already stopped once and resumed, so I'm not sure why it would need to stop again?  I see that it's not restoring process events in the case of synchronous execution, so maybe it should have never resumed in the first place?