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

    • Windows
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: