Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Debugger is not working on OSX 10.12.3 with QT 5.9 and QT Creator 4.4.1

Debugger is not working on OSX 10.12.3 with QT 5.9 and QT Creator 4.4.1

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 1.9k 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.
  • J Offline
    J Offline
    Janislav
    wrote on last edited by
    #1

    Hello,

    the debugger is not working on osx. Neither for a desktop application or for a ios application. When i try to run the debugger i got the following error:

    eERROR: Lldb stderr: Traceback (most recent call last):
    e  File "<input>", line 1, in <module>
    e  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 52, in <module>
    e    import weakref
    e  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/2.7/lib/python2.7/weakref.py", line 14, in <module>
    e    from _weakref import (
    eImportError: cannot import name _remove_dead_weakref
    >@
    >lldbstartupok@
    >
    dADAPTER STARTED
    sBereite zu debuggenden Prozess vor...
    >(lldb) script sys.path.insert(1, '/Users/jboerner/Qt/Qt Creator.app/Contents/Resources/debugger/')
    >Traceback (most recent call last):
    >  File "<input>", line 1, in <module>
    >NameError: name 'sys' is not defined
    >(lldb) script from lldbbridge import *
    >Traceback (most recent call last):
    >  File "<input>", line 1, in <module>
    >ImportError: No module named lldbbridge
    >(lldb) script print(dir())
    >['__builtins__', 'lldb', 'pydoc', 'reload_module', 'run_one_line', 'run_python_interpreter']
    >(lldb) script theDumper = Dumper()
    >Traceback (most recent call last):
    >  File "<input>", line 1, in <module>
    >NameError: name 'Dumper' is not defined
    

    Has someone an idea maybe?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Janislav
      wrote on last edited by
      #2

      Okay so I downgraded to QT 5.7 but still with QTCreator 4.4.1 and now it works (also on IOS) :/. This is very strange because I actually thought it is probably a problem with QT Creator.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Janislav
        wrote on last edited by
        #3

        Okay, so that doesn't be the fix :P. It works randomly. Sometimes I can bring back to run when I restart my laptop but that doesn't work every time like it seems. The debugger works as long as I don't restart Qt Creator or it has a total crash.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Stephane Brillant
          wrote on last edited by
          #4

          I have the same problem on High Sierra.
          Managed to fix some on the lldb error by creating a .lldbinit file with the missing import (ex: script import sys) but i'm stuck at the _remove_dead_weakref error.

          1 Reply Last reply
          1

          • Login

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