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

Debug versions of frameworks not loaded on OSX 10.11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0-rc1
    • Debugger
    • None
    • Tested with Qt Creator 3.4.2, 3.5.1, 3.6 RC.
      OSX Version: 10.11 El Capitan
      Custom compiled version of Qt (debug): 5.6
      Debugger engine: lldb

    Description

      When trying to debug an application, and the DYLD_IMAGE_SUFFIX=_debug option is set, the original libraries are loaded instead of the debug ones.

      If application is simply executed from within Qt Creator, without debugging, and the DYLD_IMAGE_SUFFIX=_debug option is set, the debug frameworks are properly loaded.

      Additional notes:
      Executing the lldb command "settings show target.env-vars" in the debugger view of Qt Creator, shows that the suffix is present.

      But if the process environment variables are inspected using the shell command "ps -p [process-pid] -wwwE", all environment variables that were shown in lldb debug window are present, except for the image suffix one.

      Attachments

        Activity

          People

            hjk hjk
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: