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

Debugger does not show disassembly on Apple M1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • Qt Creator 7.0.1, Qt Creator 7.0.2
    • Debugger
    • None
    • macOS

    Description

      I have an application, compiled for ARM64 using Qt 6.2.3
      I run debugger, runs fine, stops at a breakpoint.
      Now, when I try to invoke the disassembler, I get the following:

      33fetchDisassembler({"address":0,"flavor":"att","function":"Matrix::Rotate","token":33})>(lldb) script theDumper.fetchDisassembler({"address":0,"flavor":"att","function":"Matrix::Rotate","token":33})
      >Traceback (most recent call last):>  File "<input>", line 1, in <module>>  File "/Users/yannis/Qt/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1840, in fetchDisassembler>    source = f.read().splitlines()>  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/encodings/ascii.py", line 26, in decode>    return codecs.ascii_decode(input, self.errors)[0]>UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
      

      Attachments

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

        Activity

          People

            hjk hjk
            yannis Ioannis Doukakis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes