Debugger: Move watchHandler()->notifyUpdateStarted() to doUpdateLocals

This was it also gets triggered when expanding tooltips.

Change-Id: I90ad39e9e82abdcd40e663b4ba4998205563009b
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
hjk
2015-06-16 16:38:14 +02:00
parent ad6451bbe4
commit d769efe1e2
4 changed files with 7 additions and 1 deletions

View File

@@ -1341,6 +1341,9 @@ void CdbEngine::doUpdateLocals(const UpdateParameters &updateParameters)
watchHandler()->removeAllData();
return;
}
watchHandler()->notifyUpdateStarted();
/* Watchers: Forcibly discard old symbol group as switching from
* thread 0/frame 0 -> thread 1/assembly -> thread 0/frame 0 will otherwise re-use it
* and cause errors as it seems to go 'stale' when switching threads.