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

QML Debugging : Breakpoints' internal ID is not assigned properly

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      7f12cf3346d65d0bff78fff8000ed519fbb921ba (qt/qtdeclarative/dev) ecbd920ecad58ec0171b7b6c244419f4cd485c25 (qt/qtdeclarative/6.1) 73a620559749cb636766ae7f94a32e0cc7cdb6e7 (qt/tqtc-qtdeclarative/5.15)

      Description

      Same internal ID is assigned over and over.

      This can be reproduced by setting and removing breakpoints to qml code.

      Here's debugger log as well as the screenshot.

      dTAKING OWNERSHIP OF BREAKPOINT 43
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":152,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":57,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":0,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":57,"running":false,"seq":58,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 44
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":153,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":58,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":1,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":58,"running":false,"seq":59,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 45
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":154,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":59,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":2,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":59,"running":false,"seq":60,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 46
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":155,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":60,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":3,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":60,"running":false,"seq":61,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 47
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":156,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":61,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":61,"running":false,"seq":62,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 48
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":157,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":62,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":5,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":62,"running":false,"seq":63,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":5},"command":"clearbreakpoint","seq":63,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":5,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":63,"running":false,"seq":64,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":3},"command":"clearbreakpoint","seq":64,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":3,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":64,"running":false,"seq":65,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 49
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":157,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":65,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":65,"running":false,"seq":66,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 50
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":159,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":66,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":66,"running":false,"seq":67,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":4},"command":"clearbreakpoint","seq":67,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":67,"running":false,"seq":68,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 51
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":157,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":68,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":3,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":68,"running":false,"seq":69,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 52
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":160,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":69,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":69,"running":false,"seq":70,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 53
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":161,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":70,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":5,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":70,"running":false,"seq":71,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":4},"command":"clearbreakpoint","seq":71,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":71,"running":false,"seq":72,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":4},"command":"clearbreakpoint","seq":72,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":4,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":72,"running":false,"seq":73,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":2},"command":"clearbreakpoint","seq":73,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":2,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":73,"running":false,"seq":74,"success":true,"type":"response"}
      
      <v8request {"arguments":{"breakpoint":1},"command":"clearbreakpoint","seq":74,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":1,"type":"scriptRegExp"},"command":"clearbreakpoint","request_seq":74,"running":false,"seq":75,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 54
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":155,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":75,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":3,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":75,"running":false,"seq":76,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 55
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":154,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":76,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":3,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":76,"running":false,"seq":77,"success":true,"type":"response"}
      
      dTAKING OWNERSHIP OF BREAKPOINT 56
      <v8request {"arguments":{"enabled":true,"ignoreCount":0,"line":158,"target":"calqlatr.qml","type":"scriptRegExp"},"command":"setbreakpoint","seq":77,"type":"request"}
      >v8message
      >v8message {"body":{"breakpoint":3,"type":"scriptRegExp"},"command":"setbreakpoint","request_seq":77,"running":false,"seq":78,"success":true,"type":"response"}
      
      

        Attachments

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

          Activity

            People

            Assignee:
            ulherman Ulf Hermann
            Reporter:
            nagrohn Nahomi Gröhn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes