void LLDBConnector::SendCommand(const LLDBCommand& command) { try { if ( m_socket ) { m_socket->WriteMessage( command.ToJSON().format() ); } } catch ( clSocketException &e ) { wxUnusedVar( e ); } }
void LLDBConnector::SendCommand(const LLDBCommand& command) { try { if(m_socket) { // Convert local paths to remote paths if needed LLDBCommand updatedCommand = command; updatedCommand.UpdatePaths(m_pivot); m_socket->WriteMessage(updatedCommand.ToJSON().format()); } } catch(clSocketException& e) { wxUnusedVar(e); } }
void MainDialog::LogCommand(const LLDBCommand& command) { wxString text = command.ToJSON().format(); m_textCtrlLog->AppendText( text + "\n" ); }