Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5.6. Commercial - Unable to start lldb on MAC OSX
QtWS25 Last Chance

Qt5.6. Commercial - Unable to start lldb on MAC OSX

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 2.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pompeo
    wrote on last edited by A Former User
    #1

    Hi
    i downloaded Qt 5.6.0 commercial edition but i'm unable to debug my desktop application. I'm using Qt 5.3.2 as kit and XCode is correctly installed and working.
    With Qt 5.4 open source edition i didn't have any problem. I tried a rebuild and the rie-creation of the .pro.user.

    Debugger says Unable to start lldb at his path but lldb is there and working.

    How can i fix this?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should add which version of OS X and Xcode you are using.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        You should add which version of OS X and Xcode you are using.

        P Offline
        P Offline
        pompeo
        wrote on last edited by
        #3

        @SGaist xcode 7.2.1 on OSX 10.10

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Are you using the latest version of Qt Creator ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply
          0
          • SGaistS SGaist

            Are you using the latest version of Qt Creator ?

            P Offline
            P Offline
            pompeo
            wrote on last edited by
            #5

            @SGaist Hi
            Yes the tlatest

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Sorry, I wasn't precise enough: Qt Creator 4 ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply
              0
              • P Offline
                P Offline
                pompeo
                wrote on last edited by pompeo
                #7

                No problem:
                OS is 10.10.5 YOSEMITE
                XCode 7.2.1 (7C1002)
                QT 5.6 Commercial
                QT Creator 4.0.0 From revision 605ea627cc
                lldb-340.4.119.1
                [Scrrenshot] https://dl.dropboxusercontent.com/u/3995257/Xcode_qt56_commercial.png

                Thanks you for your time
                P

                1 Reply Last reply
                1
                • SGaistS SGaist

                  Sorry, I wasn't precise enough: Qt Creator 4 ?

                  P Offline
                  P Offline
                  pompeo
                  wrote on last edited by
                  #8

                  @SGaist Hi
                  It seems i found a solution using part of the answer at this list
                  [QTForum]https://forum.qt.io/topic/64316/can-t-debug-qt5-5-1-lldb-on-osx/3

                  I needed to path the file dumper.py adding:

                       def hexencode(self, s):
                  +        if not s:
                  +            return ''
                           if sys.version_info[0] == 2:
                               return s.encode("hex")
                  
                  1 Reply Last reply
                  1
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Great ! What puzzles me is that it should already be part of Qt Creator 4… Are you using the Beta or release version ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      pompeo
                      wrote on last edited by
                      #10

                      No, just downloaded the offline installer.

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        Well, there's an offline installer for both versions, hence my question about Beta vs Release.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        0
                        • pellisukP Offline
                          pellisukP Offline
                          pellisuk
                          wrote on last edited by
                          #12

                          I have a similar error with QtCreator 4.0.2 (release version downloaded from qt.io). The fix above is not applicable because the Python files appear to already have the equivalent code.
                          I have Qt 5.6.0, built from the commercial source, and Xcode 7.1.1 on Yosemite.

                          When I try to debug my project I get an error: Unable to start LLDB "/Applications.Xcode.app/Contents/Developer/usr/bin/lldb": chdir: No such file or directory. This path was autodetected by QtCreator. It does exist and I can run lldb from the commandline at that location using the same user I launched QtCreator with.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved