QML/JS Console: Update context

Update context from QML object tree or the stack frame
depending upon debugger engine state.

Change-Id: I4e6affba37acc016513ad95cd278a400aaa18c49
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
This commit is contained in:
Aurindam Jana
2012-11-27 17:16:57 +01:00
parent e53b4a9c76
commit 6bbd80143b
7 changed files with 21 additions and 13 deletions

View File

@@ -128,7 +128,7 @@ void QmlInspectorAgent::watchDataSelected(const WatchData *data)
if (data->id) {
QTC_ASSERT(m_debugIdLocations.keys().contains(data->id), return);
emit jumpToObjectDefinition(m_debugIdLocations.value(data->id));
emit jumpToObjectDefinition(m_debugIdLocations.value(data->id), data->id);
}
}