Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
Qt Creator 4.0.0
-
None
-
421a66b1019649e6e1a7709042cc7a9e5eaeca55
Description
Consider the following QML:
import QtQuick 2.0 import QtQuick.Window 2.0 Window { id: rootRect width: 300 height: 300 visible: true Rectangle { id: ball width: 20 height: 20 color: "Lime" anchors.verticalCenter: rootRect.verticalCenter property bool flag: false SequentialAnimation { running: true loops: Animation.Infinite NumberAnimation { target: ball property: "x" from: 0 to: rootRect.width duration: 3000 } ScriptAction { script: ball.flag = false } } onXChanged: { if (x >= 150 && !flag) { console.log("Center") flag = true } } } }
Execute the application in QML debugging mode and observe that while the application is running you can inspect it via the l&e view. There is a "rootRect" object you can expand. Now set a breakpoint on console.log("Center") and wait until it hits. Remove the break point and continue. After that, the "rootRect" is gone from the l&e view.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-16692 "Locals and Expressions" view empty after interrupt, continue
- Closed