LLDB debugger never finishes in QtCreator
<p>I am trying to use Qt Creator 3.5.1 to debug a piece of software I wrote. I noticed that whilst debugging my program would just halt at random points and I mistook these issues for threading problems. However, eventually I found out that even when I ran the simplest of programs the debugger would keep running for all eternity without finishing.</p>

<p>I am running on a Mac (El Capitan), with Qt 5.5.1 and Xcode 7.3.</p>

<p>This is my very simple test program:</p>

<pre><code>#include &lt;iostream&gt;
int main(int argc, char *argv[])
{
    std::cout &lt;&lt; "Howdy, this is a simple test program." &lt;&lt; std::endl;
    return 0;
}
</code></pre>

<p>When I run this in debugging mode in Qt Creator without setting any breakpoints it just never finishes:</p>

<pre><code>Debugging starts
Howdy, this is a simple test program.
</code></pre>

<p>It is only when I press the <code>stop</code> button several times that the debugger comes back at me with <code>Debugging has finished</code></p>

<p>When I look at the "Debugger log view" it shows me a Python exception of something crashing. I have no idea how to troubleshoot this though.</p>

<pre><code>ERROR: Lldb stderr: Exception in thread Thread-1:
Traceback (most recent call last):  
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run() 
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs) 
File "/Users/Stan/Qt5.5.1/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 765, in loop 
    self.handleEvent(event) 
File "/Users/Stan/Qt5.5.1/Qt Creator.app/Contents/Resources/debugger/lldbbridge.py", line 1383, in handleEvent
    % self.hexencode(msg))
File "/Users/Stan/Qt5.5.1/Qt Creator.app/Contents/Resources/debugger/dumper.py", line 478, in hex encode
    return s.encode("hex") eAttributeError: 'NoneType' object has no attribute 'encode'
</code></pre>

<p>It might be nothing, but I have quite a challenge on my hands right now and I'd rather not work with a debugger I can't trust.</p>

<p>Thanks.</p>