Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
2.3.1
-
None
-
Windows 7 64Bit, SP1
VS2017 Prof. v15.9.4
Qt 5.9.3
-
-
5f6642915d67ed67df8d375e67202e19194513ff
Description
I tried to set breakpoints in functions which are declared within .js file.
When I start to debug the red circle (breakpoint) getting not filled and during runtime the breakpoint is not called. The .js files are include in resources.
Setting breakpoints inside .qml files works great.
The attached vsdebugging.zip is a smal project to show the issue.
- decompress the .zip
- open the .pro with VS Addin "Open Qt project file (.pro)..."
- if neccessary: "Convert Project to Qt VS Tool Project"
- Enable QML debugging in "Qt Projects Settings"
Compile in debug...
Now set a breakpoint in main.qml, line 28 and in main.js, line 4.
Run the application and click the red rectangle, now debugger stops at main.qml, line 28.
Try to step into (F11) but then comes the message "No disassembly available" and the breakpoint in main.js, line 4 is never called.