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

Cannot launch Qt Creator under a debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 10.0.1
    • Qt Creator 10.0.0
    • Debugger
    • None
    • macOS
    • 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

        1. dbgqtc.txt
          10 kB
        2. qtc-10-debug-log.txt
          18 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            con Eike Ziller
            knuckles Max Breev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes