forked from qt-creator/qt-creator
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:
@@ -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 ¶ms)
|
||||
|
||||
void GdbEngine::handleStackFramePython(const DebuggerResponse &response, bool partial)
|
||||
{
|
||||
watchHandler()->updateFinished();
|
||||
if (response.resultClass == ResultDone) {
|
||||
QByteArray out = response.consoleStreamOutput;
|
||||
while (out.endsWith(' ') || out.endsWith('\n'))
|
||||
|
||||
Reference in New Issue
Block a user