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

CMake file with add_subdirectory to other cmake file causes debugger to stop with an error.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 3.3.0
    • Debugger
    • None
    • OSX 10.10.1

    Description

      On OSX 10.10.1, with final version 3.3.0, the debugger does not work anymore when using Cmake (with add_subdirectory() ). Tested it with a simple main.cpp:
      #include <iostream>

      int main(int argc, char *argv[]) {
      int returnValue=0;
      std::cout << returnValue;
      return (returnValue);
      }
      Outer Cmake file:
      add_subdirectory(mySubProject)

      inner Cmake file:
      project(blabla)
      add_executable(${PROJECT_NAME} main.cpp)

      Debugger does not stop at breakpoint and gives a python error.
      Used to work in previous versions (including 3.3.0 rc).
      Reverted to 3.2.0 and everything works as expected.
      3.3.0 only gives an error, when opening the outer cmake project file. Using the Cmake file from the subdirectory directly, works fine.
      Exact error:
      "Python quit unexpectedly while using the _lldb.so plug-in."

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            luismdevries L.M. de Vries
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes