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

Debugger: Enabling breakpoint after disabling it does not work for Quick Debugging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.7.0
    • Fix Version/s: Qt Creator 4.7.1
    • Labels:
      None
    • Environment:
      Debian 9, macOS 10.13.5
      QС 4.7.0 (official release) based on Qt5.11.1
    • Platform/s:
      Linux/X11, macOS
    • Commits:
      957d7d83ff9e6a7ce446a86861d8e9ca46357986

      Description

      Steps to reproduce:

      • open/create a Quick Application from template, add some code to be able to stop at breakpoints
      • add a breakpoint inside the cpp part and another one inside the qml part
      • start debugging
      • trigger the breakpoint in cpp, trigger the breakpoint in qml
      • disable the breakpoint in qml, trigger it again
        • debugger does not stop (fine)
      • re-enable the breakpoint in qml, trigger it again
        • debugger still does not stop (bad!)

      Note: Removing the breakpoint and setting it again does work as expected.

      2nd Note: This also seems to work if the breakpoint is located inside a Connections {} construct.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              ulherman Ulf Hermann
              Reporter:
              cstenger Christian Stenger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes