void LLDBPlugin::OnLLDBBreakpointsUpdated(LLDBEvent& event) { event.Skip(); // update the ui (mainly editors) // this is done by replacing the breakpoints list with a new one (the updated one we take from LLDB) m_mgr->SetBreakpoints(LLDBBreakpoint::ToBreakpointInfoVector(event.GetBreakpoints())); }
void MainDialog::OnLLDBBreakpointsUpdated(LLDBEvent& e) { e.Skip(); wxString msg; const LLDBBreakpoint::Vec_t &bps = e.GetBreakpoints(); for(size_t i=0; i<bps.size(); ++i) { msg << bps.at(i)->ToString() << "\n"; } m_textCtrlLog->AppendText("Breakpoints updated:\n"); m_textCtrlLog->AppendText( msg ); }