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

OS X: Qbs built application bundle debugging doesn't work

    XMLWordPrintable

Details

    • 507ad11f945b0320fcbce7cac465f0226ba73199

    Description

      QBS and QtCreator work fine when debugging non-bundled OS X application. With bundled applications debugger doesn't work anymore.

      Add a breakpoint to one of the lines in main.cpp and press the Debug button.
      LLDB will fail to run.

      main.cpp
      #include <iostream>
      
      using namespace std;
      
      int main()
      {
          int i = 5;
          int x = 6;
          int z = i + x;
          cout << "Hello World!" << z << endl;
          return 0;
      }
      
      DebugIssue.qbs
      import qbs
      
      CppApplication {
          type: "application"
          consoleApplication: true
          files: "main.cpp"
      
          Group {
              fileTagsFilter: product.type
              qbs.install: true
          }
      }
      

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            kileppal Kimmo Leppälä
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes