Qt debugger input not working
<p>I am trying to learn to debug using Qt Creator on OS X. Some of the exercises I am trying to complete require user input. When run normally the terminal window appears and dialogue works fine. However when run in debugger mode the terminal Windows down not appear and no input can be taken.</p>

<p>I have tried setting a break point and setting the values using the "watches" window (I don't know what it is actually called but that is what Code:: Blocks called it). I have also tried to skip the <code>cin</code> lines using the step over button but that does not work either. I found <a href="https://stackoverflow.com/questions/11343826/runing-an-app-in-a-terminal-with-a-debugger-on-linux-using-qt-creator">this answer</a> which seemed similar but it was for Ubuntu and I am on Mac and I have no idea how implement their fix.</p>

<p>Here is an example of my problem:</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;
int main ()
{
     double base_val;
     cout &lt;&lt; "Enter a base value: ";
     cin &gt;&gt; base_val;
     //the code cannot go further than this
     cout &lt;&lt; base_val;
}
</code></pre>

<p>This was done in a plain C++ application with the <em>qmake</em> build system.
The Run in terminal option is checked (Projects / Build &amp; Run /Run)</p>