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

Qt Creator open files from the wrong project when a QML/JS breakpoint is hit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 3.4.0, Qt Creator 3.5.1
    • Debugger
    • None

      In a subdirs project with multiple QtQuick applications that contain QML files with the same name, if a breakpoint is hit, then Qt Creator opens the first file with that filename, which might not be the one where the breakpoint was set.

      I have attached a project that reproduces the issue. The steps to reproduce are:
      1. Set a breakpoint in main.qml from App2 (e.g. in onClicked)
      2. Start debugging App2

      The result is that main.qml from App1 is opened instead of the one from App2.

        1. QmlBreakpoint.zip
          5 kB
          Jeremy Powell
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            molesmoke Jeremy Powell
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes