コード例 #1
0
ファイル: LLDBConnector.cpp プロジェクト: qioixiy/codelite
void LLDBConnector::SendCommand(const LLDBCommand& command)
{
    try {
        if ( m_socket ) {
            m_socket->WriteMessage( command.ToJSON().format() );
        }

    } catch ( clSocketException &e ) {
        wxUnusedVar( e );
    }
}
コード例 #2
0
ファイル: LLDBConnector.cpp プロジェクト: stahta01/codelite
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);
    }
}
コード例 #3
0
ファイル: MainDialog.cpp プロジェクト: qioixiy/codelite
void MainDialog::LogCommand(const LLDBCommand& command)
{
    wxString text = command.ToJSON().format();
    m_textCtrlLog->AppendText( text + "\n" );
}