title: Eclipse C++ Debugger doesn't stop at breakpoints and terminates immediately after debug started
body: <p>I am following the C++ Debugging tutorial section (<a href="https://help.eclipse.org/photon/index.jsp" rel="nofollow noreferrer">https://help.eclipse.org/photon/index.jsp</a>) in the Eclipse Photon documentation. I have followed all the instructions creating the first C++ project and I'm at the 'Debugging project' section. My problem is that after I create my debug perspective and hit the 'Debug' button the debugger never stops on my set breakpoint. In the Debug window it just says  and the loop of the program doesn't even produce any output at all. If you run the program normally the loop prints to the console, but nothing happens in debug perspective. </p>
  
  <p>I have tried deleting my debug perspective and creating a new one and I'm having the same issues. 
  I have uploaded screenshots of my debug configuration. </p>
  
  <pre><code>https://imgur.com/a/MXYHxJl
  https://imgur.com/a/eEU47Ht
  https://imgur.com/a/koOf08x
  
  #include &lt;iostream&gt;
  using namespace std;
  
  int main () {
      // Say HelloWorld five times
      for (int index = 0; index &lt; 5; ++index)
        cout &lt;&lt; "HelloWorld!" &lt;&lt; endl;
      char input = 'i';
      cout &lt;&lt; "To exit, press 'm' then the 'Enter' key." &lt;&lt; endl;
      cin  &gt;&gt; input;
      while(input != 'm') {
          cout &lt;&lt; "You just entered '" &lt;&lt; input &lt;&lt; "'. "
               &lt;&lt; "You need to enter 'm' to exit." &lt;&lt; endl;
          cin  &gt;&gt; input;
      }
      cout &lt;&lt; "Thank you. Exiting." &lt;&lt; endl;
      return 0;
  }
  </code></pre>