Adjust lldb-server sync time
This commit is contained in:
parent
e60dc0eab5
commit
2c29b64d97
|
@ -997,6 +997,7 @@ void Debugger::syncFinishedParsing()
|
|||
for (const QString& line:mClient->fullOutput()) {
|
||||
pMainWindow->addDebugOutput(line);
|
||||
}
|
||||
pMainWindow->addDebugOutput("(gdb)");
|
||||
} else {
|
||||
// if (mClient->currentCmd() && mClient->currentCmd()->command == "disas") {
|
||||
|
||||
|
@ -1014,7 +1015,6 @@ void Debugger::syncFinishedParsing()
|
|||
for (const QString& line:mClient->consoleOutput()) {
|
||||
pMainWindow->addDebugOutput(line);
|
||||
}
|
||||
pMainWindow->addDebugOutput("(gdb)");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -165,7 +165,8 @@ void GDBMIDebuggerClient::runNextCmd()
|
|||
if (mCmdQueue.isEmpty()) {
|
||||
if (debugger()->useDebugServer() && mInferiorRunning && !mAsyncUpdated) {
|
||||
mAsyncUpdated = true;
|
||||
QTimer::singleShot(5000,this,&GDBMIDebuggerClient::asyncUpdate);
|
||||
//We must force refresh the response from the lldb-server....
|
||||
QTimer::singleShot(500,this,&GDBMIDebuggerClient::asyncUpdate);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue