forked from qt-creator/qt-creator
CDB: Fix expanding watchers.
Discard old watchers only when entering a new frame. Change-Id: I4a0ac6af7c6970f7a0d4c58636bf9f51ecab9505 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -1396,9 +1396,10 @@ void CdbEngine::doUpdateLocals(const UpdateParameters &updateParameters)
|
||||
str << '"';
|
||||
}
|
||||
}
|
||||
if (!partialUpdate || isWatch) {
|
||||
// Perform watches synchronization
|
||||
// Perform watches synchronization only for full updates
|
||||
if (!partialUpdate)
|
||||
str << blankSeparator << "-W";
|
||||
if (!partialUpdate || isWatch) {
|
||||
const WatcherHash watcherHash = WatchHandler::watcherNames();
|
||||
if (!watcherHash.isEmpty()) {
|
||||
const WatcherHash::const_iterator cend = watcherHash.constEnd();
|
||||
|
||||
Reference in New Issue
Block a user