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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 4.7.1
    • Qt Creator 4.7.0
    • None
    • Debian 9, macOS 10.13.5
      QС 4.7.0 (official release) based on Qt5.11.1
    • Linux/X11, macOS
    • 957d7d83ff9e6a7ce446a86861d8e9ca46357986

      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.

        For Gerrit Dashboard: QTCREATORBUG-20795
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes