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

LLDB debugger installed as GDB for LLVM-MinGW Package

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.7.0
    • 6.7.0 RC
    • Packaging & Installer
    • Windows
    • 013277d94 (master), 2b0ac6a44 (dev)

    Description

      I've installed LLVM-MinGW 6.7.0RC package, had from Qt SDK the LLVM MinGW 17.0.6 Toolchain.

      Qt Creator is not able to debug Qt 6.7 examples due to:

      ---------------------------
      Unexpected GDB Exit
      ---------------------------
      The GDB process terminated unexpectedly (exit code 1).
      ---------------------------
      OK   
      ---------------------------
       

      That's due to the fact that LLDB is wrongly registered as GDB:

      Changing the debugger type from 1 to 256 in C:\Qt\Tools\sdktool\share\qtcreator\QtProject\qtcreator\debuggers.xml as:

       <data>
        <variable>DebuggerItem.1</variable>
        <valuemap type="QVariantMap">
         <valuelist type="QVariantList" key="Abis">
          <value type="QString">x86-windows-msys-pe-64bit</value>
         </valuelist>
         <value type="bool" key="AutoDetected">true</value>
         <value type="QString" key="Binary">C:/Qt/Tools/llvm-mingw1706_64/bin/lldb.exe</value>
         <value type="QString" key="DisplayName">LLVM lldb 17.0.6 64-bit</value>
         <value type="int" key="EngineType">256</value>
         <value type="QString" key="Id">Debugger.qt.tools.win64_llvm_mingw1706</value>
        </valuemap>
       </data> 

       
      Fixes the issue.

      Attachments

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

        Activity

          People

            cadam Cristian Adam
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes