forked from qt-creator/qt-creator
Debugger: Suppress v8 specific locals
This Hack ensures that v8 specific locals are not visible in the debugger locals and watchers window Change-Id: I3958a4dc0c9ded3de2686546ad1d51f080952b6a Reviewed-on: http://codereview.qt.nokia.com/3408 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -509,6 +509,10 @@ void QmlV8DebuggerClient::setLocals(int frameIndex)
|
||||
|
||||
WatchData data;
|
||||
data.exp = local.findChild("name").toVariant().toByteArray();
|
||||
//Check for v8 specific local
|
||||
if (data.exp.startsWith("."))
|
||||
continue;
|
||||
|
||||
data.name = data.exp;
|
||||
data.iname = "local." + data.exp;
|
||||
JsonValue val = refs.childAt(indexInRef(refs,local.findChild("value").findChild("ref").toVariant().toInt()));
|
||||
|
Reference in New Issue
Block a user