Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2
-
051dd3178bc4c9214af60c69cecfc2c28f13174d (qt/qtdeclarative/dev) 6ce50ad548aad6caca815b3058ee1a2be923344f (qt/tqtc-qtdeclarative/5.15) 8e400a48285e58c938fe24367251cc04c1d00985 (qt/qtdeclarative/6.1)
Description
In QML Debugging, let variable is not shown in Locals. See attached screenshot qtcreatorbug25531.png
The variable can be checked by adding to Expressions but it'd be nice if it appears in Locals too.
Here's the producible code.
Button { text: "Button" onClicked: { var a = 1 var b = 1 var c = 1 let d = 4 // This doesn't appear in Locals console.log("onClicked") // Set breakpoint } }