Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-615

Setting breakpoints in .js files and step into is not possible!

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.3.2
    • 2.3.1
    • Build-time integration
    • None
    • Windows 7 64Bit, SP1
      VS2017 Prof. v15.9.4
      Qt 5.9.3
    • Windows
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            jackmack Jack Mack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes