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

QString dumper not working on arm macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • Qt Creator 14.0.0-rc1
    • Debugger
    • macOS

    Description

      1) Open tests/manual/debugger/simple/simple.pro
      2) Set a breakpoint in the middle of testQString1
      3) Use official Qt 6.7.2 macos kit
      4) Build project and start debugging
      5) Observe <not accessible>

      debugger log says

      <238fetchVariables({"autoderef":1,"context":"","displaystringlimit":1000,"dyntype":1,"expanded":{"inspect":100,"local":100,"return":100,"watch":100},"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":"1","qobjectnames":1,"qtnamespace":"","qtversion":395010,"stringcutoff":10000,"timestamps":0,"token":238,"typeformats":{},"watchers":[]})
      >(lldb) script theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":1000,"dyntype":1,"expanded":{"inspect":100,"local":100,"return":100,"watch":100},"fancy":1,"formats":{},"nativemixed":0,"partialvar":"","passexceptions":"1","qobjectnames":1,"qtnamespace":"","qtversion":395010,"stringcutoff":10000,"timestamps":0,"token":238,"typeformats":{},"watchers":[]})
      >@
      >bridgemessage={msg="**** CAUGHT EXCEPTION: SUBITEM ****",channel="10"}
      >@
      >@
      >bridgemessage={msg="Traceback (most recent call last):
      >
      >",channel="10"}
      >@
      >@
      >bridgemessage={msg="  File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 2446, in handleLocals
      >    self.putItem(value)
      >
      >",channel="10"}
      >@
      >@
      >bridgemessage={msg="  File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 2769, in putItem
      >    self.putItemX(value)
      >
      >",channel="10"}
      >@
      >@
      >bridgemessage={msg="  File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 2790, in putItemX
      >    if self.tryPutPrettyItem(typeName, value):
      >
      >",channel="10"}
      >@
      >@
      >bridgemessage={msg="  File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 1221, in tryPutPrettyItem
      >    dumper(self, value)
      >
      >",channel="10"}
      >@
      >@
      >bridgemessage={msg="  File $/Users/alex/Dev/qtcreator/official/Qt Creator 14.0.0-rc1/Qt Creator.app/Contents/Resources/debugger/qttypes.py$, line 1783, in qdump__QString
      >    d.qtVersionPing(value.typeid)
      >
      >",channel="10"}
      >@
      >@
      >bridgemessage={msg="AttributeError: 'Dumper' object has no attribute 'qtVersionPing'
      >
      >",channel="10"}
      >@
      >@
      >result={token="238",data=[{name="[statics]",iname="local.[statics]",numchild="1",value="",},{iname="local.str",name="str",numchild="0",type="QString",valueencoded="notaccessible",value="",},],partial="0"}@
       **** CAUGHT EXCEPTION: SUBITEM ****
       Traceback (most recent call last):
       
         File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 2446, in handleLocals
           self.putItem(value)
       
         File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 2769, in putItem
           self.putItemX(value)
       
         File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 2790, in putItemX
           if self.tryPutPrettyItem(typeName, value):
       
         File $/Users/alex/Dev/qtcreator/worktrees/qtcreatordev/share/qtcreator/debugger/dumper.py$, line 1221, in tryPutPrettyItem
           dumper(self, value)
       
         File $/Users/alex/Dev/qtcreator/official/Qt Creator 14.0.0-rc1/Qt Creator.app/Contents/Resources/debugger/qttypes.py$, line 1783, in qdump__QString
           d.qtVersionPing(value.typeid)
       
       AttributeError: 'Dumper' object has no attribute 'qtVersionPing'
       
      >238^
      
      

      Attachments

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

        Activity

          People

            madwinter Marcus Tillmanns
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes