Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72057

Debug stepping is not reliable on QNX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0 RC
    • Fix Version/s: None
    • Component/s: Core: Plugins
    • Labels:
      None

      Description

      Steps to reproduce

      1. Install Qt from Qt 5.12.0 RC offline installer for QNX7
      2. Set up example "trafficlight-qml-simple"
      3. Set breakpoint to trafficlight-qml-simple.cpp to line
        • "engine.load(QUrl(QStringLiteral("qrc:/TrafficLight.qml")));"
      4. Start debugging
      5. When debugging breaks, press "step over"

      Expected outcome

      • gdb breaks on next line

      Actual outcome

      • gdb breaks again for the same line, but does not break to the next
      • Pressing "step over" again does not help

      Workaround

      • Insert another breakpoint to the next line
      • Press "continue gdb"

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jmcdonnell James McDonnell
              Reporter:
              sanurmen Sami Nurmenniemi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes