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

Cannot enable breakpoint in QML on device

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.5.0, Qt Creator 4.7.0
    • Fix Version/s: None
    • Component/s: Boot2Qt Support , Debugger
    • Labels:
    • Environment:
      Qt 5.9.3
       Boundary Devices i.MX6 board (Nitrogen6x)

      Qt 5.11.1
       Android Device

      Host: Windows 10 1709 64 bit or Ubuntu 17.04 64 bit

      Or Ubuntu 17.04 with Qt 5.10.0 RC on desktop.

      Description

      1. Have a project with a breakpoint in a QML file.
        I used a "Qt Quick Application - Scroll" project and added an event handler:
                ListView {
                    width: parent.width
                    model: 20
                    delegate: ItemDelegate {
                        text: "Item " + (index + 1)
                        width: parent.width
                        onClicked: console.log("Clicked: " + index)
                    }
                }
        
      2. Run this in the debugger on the device.
      3. Hit the breakpoint.
        It is being hit correctly.
      4. Continue execution.
      5. Disable the breakpoint.
      6. Enable the breakpoint.
      7. Try hitting the breakpoint again.
        Creator does not notice the breakpoint being hit.

      Workaround: Remove the breakpoint and add a new one.

        Attachments

        1. right.log
          98 kB
        2. left.log
          6 kB

          Issue Links

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

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes