title: Debugging c++ application in VSCode exits when "*" is printed
body: <p>I'm using the following application</p>
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  void print(char* s)
  {
      cout &lt;&lt; s &lt;&lt; endl;
  }
  
  int main(int argc, char* argv[])
  {
      print(&quot;a&quot;); 
      print(&quot;b&quot;);
      print(&quot;***&quot;);
      print(&quot;c&quot;);
      print(&quot;d&quot;);
  }
  </code></pre>
  <p>When I run it with the debugger under VSCode (using &quot;Native Debug&quot; extension), it never pass the second print and this is my output:</p>
  <pre><code>a
  b
  </code></pre>
  <p>It never pass <code>print(&quot;***)</code>, even if I put a breakpoint after that line it doesn't reach it.</p>
  <p>if I comment out <code>print(&quot;***&quot;)</code>, the application finish with the correct output:</p>
  <pre><code>a
  b
  c
  d
  </code></pre>
  <p>The only thing I managed to figure out is that there is and issue printing &quot;*&quot; character and if I replace it with any other character all works fine. Why do I see this behavior and how can I fix this without having to change the code?</p>