Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24803

Qml debugging: breakpoint in one .qml but debugger stops in another file

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      3341fa827f (qt-creator/qt-creator/8.0) 3341fa827f (qt-creator/qt-creator/master)

      Description

      If project has 2 qml files with identical naming, the debugger seems to get a bit confused and breakpoints set in one of the files may result in the debugger stopping in the other instead.

      Steps to reproduce the problem:

      1. Open the attached project in Qt Creator
      2. Set breakpoint in Page1Form.ui.qml at line 16
      3. Debug
        => debugger will stop in subdirectory/Page1Form.ui.qml at line 16 instead

      This problem doesn't seem to be affected by the option "set breakpoints using full absolute path". The debugger is stopping in the wrong file regardless.

        Attachments

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

          Activity

            People

            Assignee:
            cstenger Christian Stenger
            Reporter:
            miikapernu Miika Pernu
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes