void CodeLiteLLDBApp::SelectThread(const LLDBCommand& command) { wxPrintf("codelite-lldb: selecting thread %d\n", command.GetThreadId()); if(CanInteract() && command.GetThreadId() != wxNOT_FOUND) { lldb::SBThread thr = m_target.GetProcess().GetThreadByID(command.GetThreadId()); if(thr.IsValid()) { m_target.GetProcess().SetSelectedThread(thr); m_interruptReason = kInterruptReasonNone; NotifyStopped(); } } }