title: can't debug small program on eclipse helios cdt using mingw/gdb under windows, console freezes
body: <p>I've been trying to use Eclipse CDT to do some c++ examples, i can run them just fine with the run command, but whenever i try to Debug, the console window freezes up, I'm able to input, but the program doesn't continue. </p>
  
  <p>When I debug, i get the following output on the console window (no breakpoints, but breaks on main because of default settings): </p>
  
  <pre><code>Hello, world
  put your name: 15^running
  </code></pre>
  
  <p>The continue button is disabled and doesn't do anything when I input something and hit <kbd>enter</kbd>. The 15 is a random number, sometimes its 16, 20 etc.</p>
  
  <p>If I run the program under eclipse I get the input prompt just fine: </p>
  
  <pre><code>Hello, world
  put your name: test
  Hello test
  </code></pre>
  
  <p>this is the code I try to debug:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  
  int main() {
      std::cout &lt;&lt; "Hello, world" &lt;&lt; std::endl;
      std::string name;
      std::cout &lt;&lt; "put your name: ";
      std::cin &gt;&gt; name;
      std::cout &lt;&lt; "Hello " + name &lt;&lt; std::endl;
      return 0;
  }
  </code></pre>
  
  <p>My path var:<br>
  <code>C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Java\jdk1.6.0_14\bin;C:\MinGW\bin</code></p>
  
  <p>Eclipse version: Helios Service Release 2<br>
  CDT version: 7.0.2<br>
  OS: windows xp<br>
  GDB version: GNU gdb (GDB) 7.2</p>
  
  <p>How can I debug this small example under CDT, without issues?</p>