Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.1.0
-
None
-
Arch Linux 64-bit
Qt 5.7.0
-
b9a8bed037c98a4f4ee55e2d372e152e5da10d9e
Description
In the Debugger Console, accessing any item by id that is not the top level item results in ReferenceError.
Example QML:
import QtQuick 2.5 import QtQuick.Window 2.2 Window { id: window visible: true width: 640 height: 480 Text { id: message anchors.fill: parent text: "hello" } }
Entering the following:
message.text = "world"
Results in:
ReferenceError: message is not defined
Attachments
For Gerrit Dashboard: QTCREATORBUG-17177 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
179276,5 | V4 Debugger: Add an option to pass additional context for evaluate | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
179277,2 | QmlDebugger: Pass selected watch item as context to V4 debugger | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
179440,2 | Revert "Debugger: Remove 'Context' label in debugger console" | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |