- enhancement: Make output in the debugger console cleaner.
This commit is contained in:
parent
fc27fac68e
commit
a5f7b02324
|
@ -1012,8 +1012,11 @@ void Debugger::syncFinishedParsing()
|
|||
// pMainWindow->addDebugOutput("(gdb)");
|
||||
// }
|
||||
// }
|
||||
for (const QString& line:mClient->consoleOutput()) {
|
||||
pMainWindow->addDebugOutput(line);
|
||||
if (!mClient->consoleOutput().isEmpty()) {
|
||||
for (const QString& line:mClient->consoleOutput()) {
|
||||
pMainWindow->addDebugOutput(line);
|
||||
}
|
||||
pMainWindow->addDebugOutput("(gdb)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -867,6 +867,7 @@ void GDBMIDebuggerClient::processResultRecord(const QByteArray &line)
|
|||
}
|
||||
disOutput=newOutput;
|
||||
}
|
||||
mConsoleOutput.clear();
|
||||
emit disassemblyUpdate(mCurrentFile,mCurrentFunc, disOutput);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue