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

LLDB not used automatically on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.2.0-rc1
    • Qt Creator 3.1.0-beta
    • Debugger
    • None
    • iMac osx 10.8.5, all updates, xcode 5.02
    • 9e8a8791bc4f6171f3c3f48d5f91f43b3ab3f269

    Description

      gdb is being used even though lldb is selected. see .tiff file.

      this is the debug console dump with the lldb selected

      sStarting debugger "GdbEngine" for ABI "x86-macos-generic-mach_o-64bit"...
      dStart parameters: 'CWP' mode: 1
      dABI: x86-macos-generic-mach_o-64bit
      dLanguages: c++ 
      dExecutable: /drop-folder/Dropbox/bible/CWP-QT/build-CWP-Desktop_Qt_5_3_0_clang_64bit-Debug/CWP.app/Contents/MacOS/CWP 
      dDirectory: /drop-folder/Dropbox/bible/CWP-QT/build-CWP-Desktop_Qt_5_3_0_clang_64bit-Debug/CWP.app/Contents/MacOS
      dDebugger: /usr/bin/gdb
      dProject: /drop-folder/Dropbox/bible/CWP-QT/CWP (built: /drop-folder/Dropbox/bible/CWP-QT/build-CWP-Desktop_Qt_5_3_0_clang_64bit-Debug)
      dQML server: 127.0.0.1:3768
      dRemote: :0
      dSysroot: 
      dDebug Source Location: 
      dDebugger settings: 
      dGdbPostAttachCommands:   (default: )
      dWatchdogTimeout: 20  (default: 20)
      dAutoEnrichParameters: true  (default: true)
      dUseDynamicType: false  (default: true)  ***
      dLoadGdbDumpers: true  (default: true)
      dAttemptQuickStart: false  (default: false)
      dGdbStartupCommands:   (default: )
      dGdbCustomDumperCommands:   (default: )
      dIdentifyDebugInfoPackages: false  (default: false)
      dMaximalStackDepth: 20  (default: 20)
      dTargetAsync: false  (default: false)
      dWarnOnReleaseBuilds: true  (default: true)
      dMultiInferior: false  (default: false)
      dIntelFlavor: false  (default: false)
      dAutoDerefPointers: true  (default: true)
      dAlwaysAdjustLocalsColumnWidths: false  (default: false)
      dMaximalStringLength: 10000  (default: 10000)
      dListSourceFiles: false  (default: false)
      dAlwaysAdjustStackColumnWidths: false  (default: false)
      dShowStandardNamespace: true  (default: true)
      dShowQtNamespace: true  (default: true)
      dSortStructMembers: true  (default: true)
      dSelectedPluginBreakpoints: false  (default: false)
      dAdjustBreakpointLocations: true  (default: true)
      dAlwaysAdjustBreakpointsColumnWidths: false  (default: false)
      dNoPluginBreakpoints: false  (default: false)
      dSkipKnownFrames: false  (default: false)
      dEnableReverseDebugging: false  (default: false)
      dAllPluginBreakpoints: true  (default: true)
      dAutoQuit: false  (default: false)
      dLogTimeStamps: false  (default: false)
      dVerboseLog: false  (default: false)
      dUseAlternatingRowColours: false  (default: false)
      dFontSizeFollowsEditor: false  (default: false)
      dUseMessageBoxForSignals: true  (default: true)
      dRaiseOnInterrupt: true  (default: true)
      dUseDebuggingHelper: true  (default: true)
      dUseCodeModel: true  (default: true)
      dShowThreadNames: true  (default: false)  ***
      dCloseBuffersOnExit: false  (default: false)
      dSwitchModeOnExit: false  (default: false)
      dBreakpointsFullPath: false  (default: false)
      dUseAddressInBreakpointsView: false  (default: false)
      dUseAddressInStackView: true  (default: false)  ***
      dAdditionalArguments:   (default: )
      dUseToolTips: false  (default: true)  ***
      dUseToolTipsInLocalsView: false  (default: false)
      dUseToolTipsInBreakpointsView: false  (default: false)
      dUseToolTipsInBreakpointsView: false  (default: true)  ***
      dCDB_Console: false  (default: false)
      dBreakpointCorrection: true  (default: true)
      dIgnoreFirstChanceAccessViolation: false  (default: false)
      dLoadGdbInit: true  (default: true)
      dSymbolPaths:   (default: )
      dSourcePaths:   (default: )
      dBreakEvent:   (default: )
      dBreakOnCrtDbgReport: false  (default: false)
      dBreakOnFatal: false  (default: false)
      dBreakOnAbort: false  (default: false)
      dAlwaysAdjustRegistersColumnWidths: false  (default: false)
      dAlwaysAdjustSnapshotsColumnWidths: false  (default: false)
      dSelectedPluginBreakpointsPattern: .*  (default: .*)
      dBreakOnThrow: false  (default: false)
      dBreakOnCatch: false  (default: false)
      dBreakOnWarning: false  (default: false)
      dQmlInspector.FromQml: false  (default: false)
      dAlwaysAdjustThreadsColumnWidths: false  (default: false)
      dAlwaysAdjustModulesColumnWidths: false  (default: false)
      dShowQmlObjectTree: true  (default: true)
      dQmlInspector.ShowAppOnTop: false  (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
      dTRYING TO START ADAPTER
      dENABLING TEST CASE: 0
      dSTARTING /usr/bin/gdb -i mi --tty=/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/QtCreator.Sj6424
      dGDB STARTED, INITIALIZING IT
      <1show version
      <2show debug-file-directory
      <3set print object on
      <4set breakpoint pending on
      <5set print elements 10000
      <6handle SIGSEGV nopass stop print
      <7set unwindonsignal on
      <8set width 0
      <9set height 0
      sSetting up inferior...
      <10-interpreter-exec console "set auto-solib-add on"
      <11-interpreter-exec console "python sys.path.insert(1, '/Users/maxfield/Qt5.3.0/Qt Creator5.3.app/Contents/Resources/debugger/')"
      <12-interpreter-exec console "python sys.path.append('/usr/bin/data-directory/python')"
      <13-interpreter-exec console "python from gdbbridge import *"
      >~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"
      >~"Copyright 2004 Free Software Foundation, Inc.\n"
      >~"GDB is free software, covered by the GNU General Public License, and you are\n"
      >~"welcome to change it and/or distribute copies of it under certain conditions.\n"
      >~"Type \"show copying\" to see the conditions.\n"
      >~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
      >~"This GDB was configured as \"x86_64-apple-darwin\"."
      >~"\n"
      
      >&"show version\n"
      >~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"
      >~"Copyright 2004 Free Software Foundation, Inc.\n"
      >~"GDB is free software, covered by the GNU General Public License, and you are\n"
      >~"welcome to change it and/or distribute copies of it under certain conditions.\n"
      >~"Type \"show copying\" to see the conditions.\n"
      >~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
      >~"This GDB was configured as \"x86_64-apple-darwin\".\n"
      >1^done
      dPARSING VERSION: 1^done
      dUNSUPPORTED GDB VERSION GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
      dCopyright 2004 Free Software Foundation, Inc.
      dGDB is free software, covered by the GNU General Public License, and you are
      dwelcome to change it and/or distribute copies of it under certain conditions.
      dType "show copying" to see the conditions.
      dThere is absolutely no warranty for GDB.  Type "show warranty" for details.
      dThis GDB was configured as "x86_64-apple-darwin".
      dGNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
      dCopyright 2004 Free Software Foundation, Inc.
      dGDB is free software, covered by the GNU General Public License, and you are
      dwelcome to change it and/or distribute copies of it under certain conditions.
      dType "show copying" to see the conditions.
      dThere is absolutely no warranty for GDB.  Type "show warranty" for details.
      dThis GDB was configured as "x86_64-apple-darwin".
      dUSING GDB VERSION: 60350, BUILD: 1824 (APPLE)
      <14-interpreter-exec console "set target-async off"
      
      >&"show debug-file-directory\n"
      >2^done,value="/usr/local/lib/debug"
      
      >&"set print object on\n"
      >3^done
      
      >&"set breakpoint pending on\n"
      >4^done
      
      >&"set print elements 10000\n"
      >5^done
      
      >&"handle SIGSEGV nopass stop print\n"
      >6^done
      
      >&"set unwindonsignal on\n"
      >7^done
      
      >&"set width 0\n"
      >8^done
      
      >&"set height 0\n"
      >9^done
      
      >10^done,time={wallclock="0.00001",user="0.00001",system="0.00000",start="1395946944.883256",end="1395946944.883270"}
      
      >11^error,msg="Undefined command: \"python\".  Try \"help\"."
      
      >12^error,msg="Undefined command: \"python\".  Try \"help\"."
      
      >13^error,msg="Undefined command: \"python\".  Try \"help\"."
      dNOTE: ENGINE SETUP FAILED
      dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
      dHANDLE RUNCONTROL FINISHED
      sDebugger finished.
      dHANDLE RUNCONTROL START FAILED
      dState changed from EngineSetupFailed(2) to DebuggerFinished(23) [master]
      
      dUNEXPECTED GDB STDERR: Undefined command: "python".  Try "help".
      dUndefined command: "python".  Try "help".
      dUndefined command: "python".  Try "help".
      >14^error,msg="No symbol table is loaded.  Use the \"file\" command."
      
      dUNEXPECTED GDB STDERR: No symbol table is loaded.  Use the "file" command.
      

      previous info provided at initial error report:

      When debugging a project imported from earlier version of qtcreator (5.02, or 5.2), you get:
      Debugging starts
      Debugging has failed
      Debugging has finished

      It refuses to debug the project. Project debugs fine on 5.02. Debugs with qtcreator crashes on 5.2.

      From QT Versions
      Name:
      Qt 5.3.0 clang 64bit
      ABI:
      x86-macos-generic-mach_o-64bit
      Source:
      /Users/maxfield/Qt5.3.0/5.3/clang_64
      mkspec:
      macx-clang
      qmake:
      /Users/maxfield/Qt5.3.0/5.3/clang_64/bin/qmake
      Version:
      5.3.0
      QMAKE_SPEC
      macx-clang
      QMAKE_VERSION
      3.0
      QMAKE_XSPEC
      macx-clang
      QT_HOST_BINS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/bin
      QT_HOST_DATA
      /Users/maxfield/Qt5.3.0/5.3/clang_64
      QT_HOST_LIBS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/lib
      QT_HOST_PREFIX
      /Users/maxfield/Qt5.3.0/5.3/clang_64
      QT_INSTALL_ARCHDATA
      /Users/maxfield/Qt5.3.0/5.3/clang_64
      QT_INSTALL_BINS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/bin
      QT_INSTALL_CONFIGURATION

      QT_INSTALL_DATA
      /Users/maxfield/Qt5.3.0/5.3/clang_64
      QT_INSTALL_DEMOS
      /Users/maxfield/Qt5.3.0/Examples/Qt-5.3
      QT_INSTALL_DOCS
      /Users/maxfield/Qt5.3.0/Docs/Qt-5.3
      QT_INSTALL_EXAMPLES
      /Users/maxfield/Qt5.3.0/Examples/Qt-5.3
      QT_INSTALL_HEADERS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/include
      QT_INSTALL_IMPORTS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/imports
      QT_INSTALL_LIBEXECS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/libexec
      QT_INSTALL_LIBS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/lib
      QT_INSTALL_PLUGINS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/plugins
      QT_INSTALL_PREFIX
      /Users/maxfield/Qt5.3.0/5.3/clang_64
      QT_INSTALL_QML
      /Users/maxfield/Qt5.3.0/5.3/clang_64/qml
      QT_INSTALL_TESTS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/tests
      QT_INSTALL_TRANSLATIONS
      /Users/maxfield/Qt5.3.0/5.3/clang_64/translations
      QT_SYSROOT

      QT_VERSION
      5.3.0

      Debugger Log

      dATTEMPT SYNC
      
      sStarting debugger "GdbEngine" for ABI "x86-macos-generic-mach_o-64bit"...
      dStart parameters: 'CWP' mode: 1
      dABI: x86-macos-generic-mach_o-64bit
      dLanguages: c++ 
      dExecutable: /drop-folder/Dropbox/bible/CWP-QT/build-CWP-Desktop_Qt_5_3_0_clang_64bit-Debug/CWP.app/Contents/MacOS/CWP 
      dDirectory: /drop-folder/Dropbox/bible/CWP-QT/build-CWP-Desktop_Qt_5_3_0_clang_64bit-Debug/CWP.app/Contents/MacOS
      dDebugger: /usr/bin/gdb
      dProject: /drop-folder/Dropbox/bible/CWP-QT/CWP (built: /drop-folder/Dropbox/bible/CWP-QT/build-CWP-Desktop_Qt_5_3_0_clang_64bit-Debug)
      dQML server: 127.0.0.1:3768
      dRemote: :0
      dSysroot: 
      dDebug Source Location: 
      dDebugger settings: 
      dRaiseOnInterrupt: true  (default: true)
      dUseDebuggingHelper: true  (default: true)
      dUseCodeModel: true  (default: true)
      dShowThreadNames: true  (default: false)  ***
      dCloseBuffersOnExit: false  (default: false)
      dSwitchModeOnExit: false  (default: false)
      dBreakpointsFullPath: false  (default: false)
      dAutoQuit: false  (default: false)
      dLogTimeStamps: false  (default: false)
      dVerboseLog: false  (default: false)
      dUseAlternatingRowColours: false  (default: false)
      dFontSizeFollowsEditor: false  (default: false)
      dUseMessageBoxForSignals: true  (default: true)
      dCDB_Console: false  (default: false)
      dBreakpointCorrection: true  (default: true)
      dIgnoreFirstChanceAccessViolation: false  (default: false)
      dLoadGdbInit: true  (default: true)
      dSymbolPaths:   (default: )
      dSourcePaths:   (default: )
      dBreakEvent:   (default: )
      dBreakOnCrtDbgReport: false  (default: false)
      dUseAddressInBreakpointsView: false  (default: false)
      dUseAddressInStackView: true  (default: false)  ***
      dAdditionalArguments:   (default: )
      dUseToolTips: false  (default: true)  ***
      dUseToolTipsInLocalsView: false  (default: false)
      dUseToolTipsInBreakpointsView: false  (default: false)
      dUseToolTipsInBreakpointsView: false  (default: true)  ***
      dIdentifyDebugInfoPackages: false  (default: false)
      dMaximalStackDepth: 20  (default: 20)
      dTargetAsync: false  (default: false)
      dWarnOnReleaseBuilds: true  (default: true)
      dMultiInferior: false  (default: false)
      dIntelFlavor: false  (default: false)
      dGdbPostAttachCommands:   (default: )
      dWatchdogTimeout: 20  (default: 20)
      dAutoEnrichParameters: true  (default: true)
      dUseDynamicType: false  (default: true)  ***
      dLoadGdbDumpers: true  (default: true)
      dAttemptQuickStart: false  (default: false)
      dGdbStartupCommands:   (default: )
      dGdbCustomDumperCommands:   (default: )
      dSelectedPluginBreakpoints: false  (default: false)
      dAdjustBreakpointLocations: true  (default: true)
      dAlwaysAdjustBreakpointsColumnWidths: false  (default: false)
      dNoPluginBreakpoints: false  (default: false)
      dSkipKnownFrames: false  (default: false)
      dEnableReverseDebugging: false  (default: false)
      dAllPluginBreakpoints: true  (default: true)
      dAutoDerefPointers: true  (default: true)
      dAlwaysAdjustLocalsColumnWidths: false  (default: false)
      dMaximalStringLength: 10000  (default: 10000)
      dListSourceFiles: false  (default: false)
      dAlwaysAdjustStackColumnWidths: false  (default: false)
      dShowStandardNamespace: true  (default: true)
      dShowQtNamespace: true  (default: true)
      dSortStructMembers: true  (default: true)
      dQmlInspector.FromQml: false  (default: false)
      dAlwaysAdjustThreadsColumnWidths: false  (default: false)
      dAlwaysAdjustModulesColumnWidths: false  (default: false)
      dShowQmlObjectTree: true  (default: true)
      dQmlInspector.ShowAppOnTop: false  (default: false)
      dBreakOnFatal: false  (default: false)
      dBreakOnAbort: false  (default: false)
      dAlwaysAdjustRegistersColumnWidths: false  (default: false)
      dAlwaysAdjustSnapshotsColumnWidths: false  (default: false)
      dSelectedPluginBreakpointsPattern: .*  (default: .*)
      dBreakOnThrow: false  (default: false)
      dBreakOnCatch: false  (default: false)
      dBreakOnWarning: false  (default: false)
      dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) [master]
      dQUEUE: SETUP ENGINE
      dCALL: SETUP ENGINE
      dTRYING TO START ADAPTER
      dENABLING TEST CASE: 0
      dSTARTING /usr/bin/gdb -i mi --tty=/var/folders/98/m330_r_x32g1g4txzqhhgl8m0000gn/T/QtCreator.Jt4637
      dGDB STARTED, INITIALIZING IT
      <1show version
      <2show debug-file-directory
      <3set print object on
      <4set breakpoint pending on
      <5set print elements 10000
      <6handle SIGSEGV nopass stop print
      <7set unwindonsignal on
      <8set width 0
      <9set height 0
      sSetting up inferior...
      <10-interpreter-exec console "set auto-solib-add on"
      <11-interpreter-exec console "python sys.path.insert(1, '/Users/maxfield/Qt5.3.0/Qt Creator5.3.app/Contents/Resources/debugger/')"
      <12-interpreter-exec console "python sys.path.append('/usr/bin/data-directory/python')"
      <13-interpreter-exec console "python from gdbbridge import *"
      dUNEXPECTED GDB STDERR: Undefined command: "python".  Try "help".
      dUndefined command: "python".  Try "help".
      dUndefined command: "python".  Try "help".
      >~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"
      >~"Copyright 2004 Free Software Foundation, Inc.\n"
      >~"GDB is free software, covered by the GNU General Public License, and you are\n"
      >~"welcome to change it and/or distribute copies of it under certain conditions.\n"
      >~"Type \"show copying\" to see the conditions.\n"
      >~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
      >~"This GDB was configured as \"x86_64-apple-darwin\"."
      >~"\n"
      
      >&"show version\n"
      >~"GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)\n"
      >~"Copyright 2004 Free Software Foundation, Inc.\n"
      >~"GDB is free software, covered by the GNU General Public License, and you are\n"
      >~"welcome to change it and/or distribute copies of it under certain conditions.\n"
      >~"Type \"show copying\" to see the conditions.\n"
      >~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
      >~"This GDB was configured as \"x86_64-apple-darwin\".\n"
      >1^done
      dPARSING VERSION: 1^done
      dUNSUPPORTED GDB VERSION GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
      dCopyright 2004 Free Software Foundation, Inc.
      dGDB is free software, covered by the GNU General Public License, and you are
      dwelcome to change it and/or distribute copies of it under certain conditions.
      dType "show copying" to see the conditions.
      dThere is absolutely no warranty for GDB.  Type "show warranty" for details.
      dThis GDB was configured as "x86_64-apple-darwin".
      dGNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
      dCopyright 2004 Free Software Foundation, Inc.
      dGDB is free software, covered by the GNU General Public License, and you are
      dwelcome to change it and/or distribute copies of it under certain conditions.
      dType "show copying" to see the conditions.
      dThere is absolutely no warranty for GDB.  Type "show warranty" for details.
      dThis GDB was configured as "x86_64-apple-darwin".
      dUSING GDB VERSION: 60350, BUILD: 1824 (APPLE)
      <14-interpreter-exec console "set target-async off"
      
      >&"show debug-file-directory\n"
      >2^done,value="/usr/local/lib/debug"
      
      >&"set print object on\n"
      >3^done
      
      >&"set breakpoint pending on\n"
      >4^done
      
      >&"set print elements 10000\n"
      >5^done
      
      >&"handle SIGSEGV nopass stop print\n"
      >6^done
      
      >&"set unwindonsignal on\n"
      >7^done
      
      >&"set width 0\n"
      >8^done
      
      >&"set height 0\n"
      >9^done
      
      >10^done,time={wallclock="0.00001",user="0.00001",system="0.00000",start="1395937626.691701",end="1395937626.691715"}
      
      >11^error,msg="Undefined command: \"python\".  Try \"help\"."
      
      >12^error,msg="Undefined command: \"python\".  Try \"help\"."
      
      >13^error,msg="Undefined command: \"python\".  Try \"help\"."
      dNOTE: ENGINE SETUP FAILED
      dState changed from EngineSetupRequested(1) to EngineSetupFailed(2) [master]
      dHANDLE RUNCONTROL FINISHED
      sDebugger finished.
      dHANDLE RUNCONTROL START FAILED
      dState changed from EngineSetupFailed(2) to DebuggerFinished(23) [master]
      
      dUNEXPECTED GDB STDERR: No symbol table is loaded.  Use the "file" command.
      >14^error,msg="No symbol table is loaded.  Use the \"file\" command."
      
      ---------------
      window beside debugger log (no title):
      
      1show version
      2show debug-file-directory
      3set print object on
      4set breakpoint pending on
      5set print elements 10000
      6handle SIGSEGV nopass stop print
      7set unwindonsignal on
      8set width 0
      9set height 0
      10-interpreter-exec console "set auto-solib-add on"
      11-interpreter-exec console "python sys.path.insert(1, '/Users/maxfield/Qt5.3.0/Qt Creator5.3.app/Contents/Resources/debugger/')"
      12-interpreter-exec console "python sys.path.append('/usr/bin/data-directory/python')"
      13-interpreter-exec console "python from gdbbridge import *"
      14-interpreter-exec console "set target-async off"
      

      Attachments

        1. gdbused.tiff
          112 kB
        2. NotUsinglldb.tiff
          819 kB
        3. qt3.1.tiff
          75 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            wademaxfield Wade Maxfield
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes