Commit 975a23c6 authored by hjk's avatar hjk

Debugger: Make "debug last command" button work for LLDB

Change-Id: I0ac7a531a7537e9e41055d815bdf204c7ec4a73d
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 4ae7d5cd
......@@ -120,6 +120,11 @@ void LldbEngine::runCommand(const Command &command)
m_lldbProc.write(cmd);
}
void LldbEngine::debugLastCommand()
{
runCommand(m_lastDebuggableCommand);
}
void LldbEngine::shutdownInferior()
{
QTC_ASSERT(state() == InferiorShutdownRequested, qDebug() << state());
......@@ -829,6 +834,9 @@ void LldbEngine::doUpdateLocals(UpdateParameters params)
//cmd.arg("resultvarname", m_resultVarName);
m_lastDebuggableCommand = cmd;
m_lastDebuggableCommand.args.replace("\"passexceptions\":0", "\"passexceptions\":1");
runCommand(cmd);
reloadRegisters();
......
......@@ -192,6 +192,8 @@ private:
QList<WatchData> *list);
void runCommand(const Command &cmd);
void debugLastCommand();
Command m_lastDebuggableCommand;
QByteArray m_inbuffer;
QString m_scriptFileName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment