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

LLDB does not start, error with tty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 14.0.1
    • Debugger
    • Windows

    Description

      I use Qt 6.7.2 llvm-mingw-64 bit for my project. It compiles and runs fine.

      When I start the debugger from Qt Creator, it stops immediately.

      I think the crucial parts of the log are:

      d[GDB] STARTING C:\Qt\Tools\llvm-mingw1706_64\bin\lldb.exe "--tty=\\.\pipe\creator-24836-27687" -i mi
      ....

      d[GDB] UNEXPECTED GDB STDERR: error: unknown option: --tty=\\.\pipe\creator-24836-27687

      derror: unknown option: -i

      dUse 'lldb.exe --help' for a complete list of options.

      d[GDB] GDB PROCESS FINISHED, status 0, exit code 1 (0x1)

       

      The debugger itself is correctly installed, I can start it manually:

      C:\Qt\Tools\llvm-mingw1706_64\bin>lldb --tty=x
      error: unknown option: --tty=x
      Use 'lldb.exe --help' for a complete list of options.

      Here is the full output of the debugger log:

      w

      d[GDB] Start parameters: 'ilandc' mode: 1

      dABI: x86-windows-msys-pe-64bit

      dLanguages: c++

      dExecutable: C:\dev\iland-model\src\ilandc\build\Desktop_Qt_6_7_2_llvm_mingw_64_bit-Debug\debug\ilandc.exe

      dDirectory: C:\dev\iland-model\src\ilandc\build\Desktop_Qt_6_7_2_llvm_mingw_64_bit-Debug

      dDebugger: C:\Qt\Tools\llvm-mingw1706_64\bin\lldb.exe

      dProject: C:\dev\iland-model\src\ilandc

      dAdditional Search Directories:

      dSysroot:

      dDebug Source Location: /usr/src/debug/qt5base/src/corelib:/usr/src/debug/qt5base/src/gui:/usr/src/debug/qt5base/src/network

      d[GDB] Debugger settings:

      d/AdditionalArguments: (default: )

      d/AlwaysAdjustColumnWidths: true (default: true)

      d/AutoDerefPointers: true (default: true)

      d/BreakEvent: (default: )

      d/BreakOnCrtDbgReport: false (default: false)

      d/BreakpointCorrection: true (default: true)

      d/CDB_Console: false (default: false)

      d/FirstChanceExceptionTaskEntry: true (default: true)

      d/IgnoreFirstChanceAccessViolation: false (default: false)

      d/LogTimeStamps: false (default: false)

      d/SecondChanceExceptionTaskEntry: true (default: true)

      d/SortStructMembers: true (default: true)

      d/SourcePaths: (default: )

      d/SymbolPaths: (default: )

      d/UsePythonDumper: true (default: true)

      d/UseToolTipsInBreakpointsView: false (default: false)

      d/UseToolTipsInLocalsView: false (default: false)

      d/UseToolTipsInStackView: true (default: true)

      d[GDB] State changed from DebuggerNotReady(0) to EngineSetupRequested(1)

      d[GDB] CALL: SETUP ENGINE

      d[GDB] TRYING TO START ADAPTER

      d[GDB] ENABLING TEST CASE: 0

      d[GDB] STARTING C:\Qt\Tools\llvm-mingw1706_64\bin\lldb.exe "--tty=\\.\pipe\creator-24836-27687" -i mi

      d[GDB] GDB STARTED, INITIALIZING IT

      <55show version

      <56show debug-file-directory

      <57set max-completions 1000

      <58complete set arch

      <59set breakpoint pending on

      <60set print elements 10000

      <61set index-cache on

      <62set unwindonsignal on

      <63set width 0

      <64set height 0

      Bereite zu debuggenden Prozess vor...

      <65set substitute-path /Users/qt/work/qt C:/Qt/6.7.2/Src

      <66set substitute-path C:/work/build/qt5_workdir/w/s C:/Qt/6.7.2/Src

      <67set substitute-path Q:/qt5_workdir/w/s C:/Qt/6.7.2/Src

      <68set substitute-path c:/Users/qt/work/install C:/Qt/6.7.2/Src

      <69set substitute-path c:/users/qt/work/qt C:/Qt/6.7.2/Src

      <# directory does not exist: /usr/src/debug/qt5base/src/corelib

      <# directory does not exist: /usr/src/debug/qt5base/src/gui

      <# directory does not exist: /usr/src/debug/qt5base/src/network

      <70python sys.path.insert(1, 'C:/Qt/Tools/QtCreator/share/qtcreator/debugger')

      <71python from gdbbridge import *

      <72python theDumper.loadDumpers({"token":72})

      d[GDB] UNEXPECTED GDB STDERR: error: unknown option: --tty=\\.\pipe\creator-24836-27687

      derror: unknown option: -i

      dUse 'lldb.exe --help' for a complete list of options.

      d[GDB] GDB PROCESS FINISHED, status 0, exit code 1 (0x1)

      d[GDB] NOTE: ENGINE SETUP FAILED

      d[GDB] State changed from EngineSetupRequested(1) to EngineSetupFailed(2)

      <Debuggen schlug fehl.

      d[GDB] State changed from EngineSetupFailed(2) to DebuggerFinished(16)

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              werner_rammer Werner Rammer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes