void LLDBPlugin::OnLLDBExpressionEvaluated(LLDBEvent& event) { CHECK_IS_LLDB_SESSION(); // hide any tooltip if(!event.GetVariables().empty() && m_mgr->GetActiveEditor()) { if(!m_tooltip) { m_tooltip = new LLDBTooltip(this); } m_tooltip->Show(event.GetExpression(), event.GetVariables().at(0)); } }