Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.7.0
-
None
-
Ubuntu 12.04 64-bit
Qt 5
-
7bba366482faf6cd34465a67f076be7f0c41db9a
Description
Steps to reproduce:
- Put a breakpoint within the Component.onCompleted handler below and start debugging.
- Open the QML/JS Console.
- Type:
console.log(y)
The result will be:
400 undefined
- Press the up key to repeat the last command. The result will be:
console.log(y) SyntaxError: Unexpected token ILLEGAL
The bug can be reproduced with any line that can be hit by the QML debugger.
import QtQuick 2.0 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 ApplicationWindow { x: 800 y: 400 width: 450 height: 500 Component.onCompleted: { y; } }