当前位置: 首页>>代码示例>>C++>>正文


C++ LLDBCommand::SetCommandType方法代码示例

本文整理汇总了C++中LLDBCommand::SetCommandType方法的典型用法代码示例。如果您正苦于以下问题:C++ LLDBCommand::SetCommandType方法的具体用法?C++ LLDBCommand::SetCommandType怎么用?C++ LLDBCommand::SetCommandType使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LLDBCommand的用法示例。


在下文中一共展示了LLDBCommand::SetCommandType方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: DeleteAllBreakpoints

void LLDBConnector::DeleteAllBreakpoints()
{
    if(!IsRunning()) {
        m_pendingDeletionBreakpoints.clear();
        m_breakpoints.clear();

        LLDBEvent event(wxEVT_LLDB_BREAKPOINTS_UPDATED);
        event.SetBreakpoints(GetAllBreakpoints());
        ProcessEvent(event);
        return;
    }

    // mark all breakpoints for deletion
    CL_DEBUGS(wxString() << "codelite: DeleteAllBreakpoints called");
    m_pendingDeletionBreakpoints.swap(m_breakpoints);

    if(!IsCanInteract()) {
        Interrupt(kInterruptReasonDeleteAllBreakpoints);

    } else {
        LLDBCommand command;
        command.SetCommandType(kCommandDeleteAllBreakpoints);
        SendCommand(command);
        m_pendingDeletionBreakpoints.clear();
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:26,代码来源:LLDBConnector.cpp

示例2: SendInterperterCommand

void LLDBConnector::SendInterperterCommand(const wxString& command)
{
    LLDBCommand lldbCommand;
    lldbCommand.SetCommandType(kCommandInterperterCommand);
    lldbCommand.SetExpression(command);
    SendCommand(lldbCommand);
}
开发者ID:stahta01,项目名称:codelite,代码行数:7,代码来源:LLDBConnector.cpp

示例3: AddWatch

void LLDBConnector::AddWatch(const wxString& watch)
{
    LLDBCommand command;
    command.SetCommandType(kCommandAddWatch);
    command.SetExpression(watch);
    SendCommand(command);
}
开发者ID:stahta01,项目名称:codelite,代码行数:7,代码来源:LLDBConnector.cpp

示例4: Interrupt

void LLDBConnector::Interrupt(eInterruptReason reason)
{
    LLDBCommand command;
    command.SetCommandType(kCommandInterrupt);
    command.SetInterruptReason(reason);
    SendCommand(command);
}
开发者ID:stahta01,项目名称:codelite,代码行数:7,代码来源:LLDBConnector.cpp

示例5: DeleteWatch

void LLDBConnector::DeleteWatch(int lldbId)
{
    LLDBCommand command;
    command.SetCommandType(kCommandDeleteWatch);
    command.SetLldbId(lldbId);
    SendCommand(command);
}
开发者ID:stahta01,项目名称:codelite,代码行数:7,代码来源:LLDBConnector.cpp

示例6: RequestLocals

void LLDBConnector::RequestLocals()
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandGetLocals);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:8,代码来源:LLDBConnector.cpp

示例7: NextInstruction

void LLDBConnector::NextInstruction()
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandNextInstruction);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:8,代码来源:LLDBConnector.cpp

示例8: ShowCurrentFileLine

void LLDBConnector::ShowCurrentFileLine()
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandCurrentFileLine);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:8,代码来源:LLDBConnector.cpp

示例9: OnStart

void MainDialog::OnStart(wxCommandEvent& event)
{
    LLDBCommand command;
    command.SetCommandType( kCommandStart );
    command.SetExecutable( m_filePickerExe->GetPath() );
    m_connector.SendCommand( command );
    LogCommand( command );
}
开发者ID:qioixiy,项目名称:codelite,代码行数:8,代码来源:MainDialog.cpp

示例10: RequestVariableChildren

void LLDBConnector::RequestVariableChildren(int lldbId)
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandExpandVariable);
        command.SetLldbId(lldbId);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:9,代码来源:LLDBConnector.cpp

示例11: SelectThread

void LLDBConnector::SelectThread(int threadID)
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandSelectThread);
        command.SetThreadId(threadID);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:9,代码来源:LLDBConnector.cpp

示例12: EvaluateExpression

void LLDBConnector::EvaluateExpression(const wxString& expression)
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandEvalExpression);
        command.SetExpression(expression);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:9,代码来源:LLDBConnector.cpp

示例13: SelectFrame

void LLDBConnector::SelectFrame(int frameID)
{
    if(IsCanInteract()) {
        LLDBCommand command;
        command.SetCommandType(kCommandSelectFrame);
        command.SetFrameId(frameID);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:9,代码来源:LLDBConnector.cpp

示例14: Stop

void LLDBConnector::Stop()
{
    if(IsAttachedToProcess()) {
        Detach();

    } else {
        LLDBCommand command;
        command.SetCommandType(kCommandStop);
        SendCommand(command);
    }
}
开发者ID:stahta01,项目名称:codelite,代码行数:11,代码来源:LLDBConnector.cpp

示例15: OnLLDBStarted

void MainDialog::OnLLDBStarted(LLDBEvent& e)
{
    e.Skip();
    m_textCtrlLog->AppendText(wxString() << "LLDB Started successfully\n");
    
    LLDBCommand command;
    command.SetCommandType( kCommandRun );
    command.SetCommandArguments( "" );
    m_connector.SendCommand( command );
    m_textCtrlLog->AppendText("Running...\n");
}
开发者ID:qioixiy,项目名称:codelite,代码行数:11,代码来源:MainDialog.cpp


注:本文中的LLDBCommand::SetCommandType方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。