Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.10.0
-
macOS 10.14.6 + Xcode 11
Description
When trying to debug a C++ based application with Xcode 11 used as the debugger then it will fail to start the application and the debugger will hang during the launch. The following is what is in the debugger log.
wNote: This log contains possibly confidential information about your machine, environment variables, in-memory data of the processes you are debugging, and more. It is never transferred over the internet by Qt Creator, and only stored to disk if you manually use the respective option from the context menu, or through mechanisms that are not under the control of Qt Creator's Debugger plugin, for instance in swap files, or other plugins you might use. wYou may be asked to share the contents of this log when reporting bugs related to debugger operation. In this case, make sure your submission does not contain data you do not want to or you are not allowed to share. w dStart parameters: 'untitled1' mode: 1 dABI: x86-darwin-generic-mach_o-64bit dLanguages: c++ dExecutable: /Users/andy/tasks/build-untitled1-Qt_5_12_2_qt5_12-Debug/untitled1.app/Contents/MacOS/untitled1 dDirectory: /Users/andy/tasks/build-untitled1-Qt_5_12_2_qt5_12-Debug/untitled1.app/Contents/MacOS dDebugger: /Applications/Xcode.app/Contents/Developer/usr/bin/lldb dProject: /Users/andy/tasks/untitled1 dAdditional Search Directories: dSysroot: dDebug Source Location: dDebugger settings: dAdditionalArguments: (default: ) dAdjustBreakpointLocations: true (default: true) dAllPluginBreakpoints: true (default: true) dAlwaysAdjustColumnWidths: true (default: true) dAutoDerefPointers: true (default: true) dAutoEnrichParameters: true (default: true) dAutoQuit: false (default: false) dBreakEvent: (default: ) dBreakOnAbort: false (default: false) dBreakOnCatch: false (default: false) dBreakOnCrtDbgReport: false (default: false) dBreakOnFatal: false (default: false) dBreakOnThrow: false (default: false) dBreakOnWarning: false (default: false) dBreakpointCorrection: true (default: true) dBreakpointsFullPath: false (default: false) dCDB_Console: false (default: false) dCloseBuffersOnExit: false (default: false) dCloseMemoryBuffersOnExit: true (default: true) dDisplayStringLimit: 100 (default: 100) dEnableReverseDebugging: false (default: false) dExtraDumperFile: (default: ) dFirstChanceExceptionTaskEntry: true (default: true) dFontSizeFollowsEditor: false (default: false) dGdbCustomDumperCommands: (default: ) dGdbPostAttachCommands: (default: ) dGdbStartupCommands: (default: ) dIdentifyDebugInfoPackages: false (default: false) dIgnoreFirstChanceAccessViolation: false (default: false) dIntelFlavor: false (default: false) dLoadGdbDumpers2: false (default: false) dLoadGdbInit: true (default: true) dLogTimeStamps: false (default: false) dMaximalStackDepth: 20 (default: 20) dMaximalStringLength: 10000 (default: 10000) dMultiInferior: false (default: false) dNoPluginBreakpoints: false (default: false) dQmlInspector.ShowAppOnTop: false (default: false) dRaiseOnInterrupt: true (default: true) dSecondChanceExceptionTaskEntry: true (default: true) dSelectedPluginBreakpoints: false (default: false) dSelectedPluginBreakpointsPattern: .* (default: .*) dShowQObjectNames2: true (default: true) dShowQmlObjectTree: true (default: true) dShowQtNamespace: true (default: true) dShowStandardNamespace: true (default: true) dShowThreadNames: false (default: false) dSkipKnownFrames: false (default: false) dSortStructMembers: true (default: true) dSourcePaths: (default: ) dStationaryEditorWhileStepping: false (default: false) dSwitchModeOnExit: false (default: false) dSymbolPaths: (default: ) dTargetAsync: false (default: false) dUseAddressInBreakpointsView: false (default: false) dUseAddressInStackView: false (default: false) dUseAlternatingRowColours: false (default: false) dUseCodeModel: true (default: true) dUseDebuggingHelper: false (default: true) *** dUseDynamicType: true (default: true) dUseMessageBoxForSignals: true (default: true) dUsePythonDumper: true (default: true) dUseToolTips: true (default: true) dUseToolTipsInBreakpointsView: true (default: false) *** dUseToolTipsInLocalsView: false (default: false) dUseToolTipsInStackView: true (default: true) dWarnOnReleaseBuilds: true (default: true) dWatchdogTimeout: 20 (default: 20) dState changed from DebuggerNotReady(0) to EngineSetupRequested(1) dCALL: SETUP ENGINE dSTARTING LLDB: /Applications/Xcode.app/Contents/Developer/usr/bin/lldb Setting up inferior... <5loadDumpers({"token":5}) <6executeDebuggerCommand({"command":"settings append target.source-map /Users/qt/work/qt /Users/andy/dev/qt5.12/qtbase/../Src","token":6}) <7setupInferior({"attachpid":0,"breakonmain":0,<environment suppressed>,"executable":"/Users/andy/tasks/build-untitled1-Qt_5_12_2_qt5_12-Debug/untitled1.app/Contents/MacOS/untitled1","nativemixed":0,"platform":"","processargs":"","remotechannel":"","startmode":1,"sysroot":"","token":7,"useterminal":0,"workingdirectory":"/Users/andy/tasks/build-untitled1-Qt_5_12_2_qt5_12-Debug/untitled1.app/Contents/MacOS"}) >(lldb) script sys.path.insert(1, '/Users/andy/dev/QtEnterpriseOnline/Qt Creator.app/Contents/Resources/debugger/') >(lldb) script from lldbbridge import * >Traceback (most recent call last): > File "<input>", line 1, in <module> > File "/Users/andy/dev/QtEnterpriseOnline/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1912 > print message > ^ >SyntaxError: Missing parentheses in call to 'print'. Did you mean print(message)? >(lldb) script theDumper.loadDumpers({"token":5}) >Traceback (most recent call last): > File "<input>", line 1, in <module> >NameError: name 'theDumper' is not defined >(lldb) script theDumper.executeDebuggerCommand({"command":"settings append target.source-map /Users/qt/work/qt /Users/andy/dev/qt5.12/qtbase/../Src","token":6}) >Traceback (most recent call last): > File "<input>", line 1, in <module> >NameError: name 'theDumper' is not defined >(lldb) script theDumper.setupInferior({"attachpid":0,"breakonmain":0,"environment":["4170706c655f5075625375625f536f636b65745f52656e6465723d2f707269766174652f746d702f636f6d2e6170706c652e6c61756e6368642e334c6a533846617841722f52656e646572","44594c445f4652414d45574f524b5f504154483d2f55736572732f616e64792f6465762f7174352e31322f7174626173652f6c6962","44594c445f494d4147455f5355464649583d5f6465627567","44594c445f4c4942524152595f504154483d2f55736572732f616e64792f6465762f7174352e31322f7174626173652f6c6962","484f4d453d2f55736572732f616e6479","4c435f43545950453d5554462d38","4c4f474e414d453d616e6479","4f4c445057443d2f55736572732f616e64792f6465762f7174352e31322f71746465636c617261746976652f6578616d706c65732f716d6c2f7475746f7269616c732f657874656e64696e672d716d6c","504154483d2f55736572732f616e64792f6465762f7174352e31322f7174626173652f62696e3a2f7573722f62696e3a2f4c6962726172792f4672616d65776f726b732f507974686f6e2e6672616d65776f726b2f56657273696f6e732f332e372f62696e3a2f4c6962726172792f4672616d65776f726b732f507974686f6e2e6672616d65776f726b2f56657273696f6e732f332e372f62696e3a2f7573722f6c6f63616c2f62696e3a2f7573722f62696e3a2f62696e3a2f7573722f7362696e3a2f7362696e3a2f4170706c69636174696f6e732f57697265736861726b2e6170702f436f6e74656e74732f4d61634f53","51544449523d2f55736572732f616e64792f6465762f7174352e31322f717462617365","534543555249545953455353494f4e49443d3138366139","5348454c4c3d2f62696e2f62617368","53484c564c3d31","5353485f415554485f534f434b3d2f707269766174652f746d702f636f6d2e6170706c652e6c61756e6368642e613874666b4a6f565a422f4c697374656e657273","5445524d3d787465726d2d323536636f6c6f72","5445524d5f50524f4752414d3d4170706c655f5465726d696e616c","5445524d5f50524f4752414d5f56455253494f4e3d3432312e32","5445524d5f53455353494f4e5f434c4153535f49443d32303030374541352d453739412d344433432d414135422d323633383030363243434644","5445524d5f53455353494f4e5f49443d33434434464134352d313738382d343336312d413046412d374241423042453343343733","544d504449523d2f7661722f666f6c646572732f717a2f32667676747a726e313935346c783877357170363972776830303030676e2f542f","555345523d616e6479","5850435f464c4147533d307830","5850435f534552564943455f4e414d453d6f72672e71742d70726f6a6563742e717463726561746f722e3636383830","5f3d2f7573722f62696e2f6f70656e","5f5f43465f555345525f544558545f454e434f44494e473d30783146353a3078303a307843"],"executable":"/Users/andy/tasks/build-untitled1-Qt_5_12_2_qt5_12-Debug/untitled1.app/Contents/MacOS/untitled1","nativemixed":0,"platform":"","processargs":"","remotechannel":"","startmode":1,"sysroot":"","token":7,"useterminal":0,"workingdirectory":"/Users/andy/tasks/build-untitled1-Qt_5_12_2_qt5_12-Debug/untitled1.app/Contents/MacOS"}) >Traceback (most recent call last): > File "<input>", line 1, in <module> >NameError: name 'theDumper' is not defined
This works fine with Xcode 10
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-23013 Debugging broken
- Closed