Debugger: Show progress indicator while updating locals.

Change-Id: I4b26cbe71f5936f367f9add2b3a6c812446835d8
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
David Schulz
2015-03-06 09:14:40 +01:00
committed by hjk
parent 467c441c93
commit 40dd248178
7 changed files with 28 additions and 0 deletions

View File

@@ -3755,6 +3755,7 @@ void GdbEngine::handleVarAssign(const DebuggerResponse &)
void GdbEngine::updateLocals()
{
watchHandler()->resetValueCache();
watchHandler()->updateRequested();
updateLocalsPython(UpdateParameters());
}
@@ -4767,6 +4768,7 @@ void GdbEngine::updateLocalsPython(const UpdateParameters &params)
void GdbEngine::handleStackFramePython(const DebuggerResponse &response, bool partial)
{
watchHandler()->updateFinished();
if (response.resultClass == ResultDone) {
QByteArray out = response.consoleStreamOutput;
while (out.endsWith(' ') || out.endsWith('\n'))