QmlDebugger: Insert locals correctly

The watchhandler needs to be reset for locals before
inserting the values of a new frame. Also the DebuggerTooltipManager
needs to be notified. The values of the locals in the
LocalsAndExpressions window should be editable.

Task-number: QTCREATORBUG-7992
Change-Id: I556e23b408db09b510f1f2bc350ff55187ec87c2
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
Aurindam Jana
2012-10-09 16:13:29 +02:00
parent 3f2e43748c
commit 388a21c826
8 changed files with 76 additions and 67 deletions

View File

@@ -1013,9 +1013,8 @@ void QmlEngine::updateWatchData(const WatchData &data,
synchronizeWatchers();
}
if (!data.isSomethingNeeded())
watchHandler()->insertIncompleteData(data);
watchHandler()->insertData(data);
}
void QmlEngine::synchronizeWatchers()