Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 10.0.0
-
None
-
-
ee4fc5b80 (10.0)
Description
Being a plugin developer I sometimes need to run Qt Creator under a debugger.
This no longer works in version 10 (debug symbols installed).
I should note that simply running Qtc with my plugin (without a debugger) works fine. Debugging other executables from Qtc works fine as well.
But when I launch the same run configuration under the debugger, the application output is just this:
12:52:18: Debugging /Users/.../sdk/Qt/Qt Creator.app/Contents/MacOS/Qt Creator -pluginpath "/Users/.../PlugIns" -tcs ... 12:52:26: Debugging of /Users/.../sdk/Qt/Qt Creator.app/Contents/MacOS/Qt Creator -pluginpath "/Users/.../PlugIns" -tcs has finished.
Trying to run Qtc under LLDB from a terminal doesn't work either:
$ /usr/bin/lldb "/Users/.../sdk/Qt/Qt Creator.app/Contents/MacOS/Qt Creator" (lldb) target create "/Users/.../sdk/Qt/Qt Creator.app/Contents/MacOS/Qt Creator" Current executable set to '/Users/.../sdk/Qt/Qt Creator.app/Contents/MacOS/Qt Creator' (x86_64). (lldb) r error: process exited with status -1 (attach failed (Not allowed to attach to process. Look in the console messages (Console.app), near the debugserver entries, when the attach failed. The subsystem that denied the attach permission will likely have logged an informative message about why it was denied.)) (lldb)
I'm attaching the full (slightly redacted) output from the debugger log view in a separate file.
Attachments
For Gerrit Dashboard: QTCREATORBUG-29010 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
471157,2 | macOS: Allow debugging Qt Creator | 10.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |