Important: Please read the Qt Code of Conduct -

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/", line 810, in __bootstrap_inner
    e File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/", line 763, in run
    e self.__target(*self.__args, **self.__kwargs)
    e File "/Applications/Qt", line 769, in loop
    e self.handleEvent(event)
    e File "/Applications/Qt", line 1409, in handleEvent
    e % self.hexencode(msg))
    e File "/Applications/Qt", line 479, in hexencode
    e return s.encode("hex")
    eAttributeError: 'NoneType' object has no attribute 'encode'

Log in to reply