Debugging on Mac OS X inside a QOpenGLContext subclass...



  • Is anyone having trouble running the Mac OS X debugger when setting breakpoints inside a QOpenGLContext subclass? I'm having consistent problems with the debugger completely ignoring my break points.



  • Here is the error report from the debugger console in Qt Creator:

    event={type="4",data="0x7ff70ac02660 Event: broadcaster = 0x7ff711d08c38 (lldb.process), type = 0x00000004 (stdout-available), data = { process = 0x7ff711d08c00 (pid = 1681), state = running}",msg="None",flavor="Process::ProcessEventData",state="running",bp="No value"}@
    eERROR: Lldb stderr: Exception in thread Thread-1:
    eTraceback (most recent call last):
    e File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    e self.run()
    e File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    e self.__target(*self.__args, **self.__kwargs)
    e File "/Applications/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 769, in loop
    e self.handleEvent(event)
    e File "/Applications/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1409, in handleEvent
    e % self.hexencode(msg))
    e File "/Applications/Qt Creator.app/Contents/Resources/debugger/dumper.py", line 479, in hexencode
    e return s.encode("hex")
    eAttributeError: 'NoneType' object has no attribute 'encode'


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.