<ul dir="auto">
<li>VSCode Version: 0.10.12-alpha</li>
<li>OS Version: Ubuntu 14.04</li>
<li>Debugging using Microsoft cpp debugger, but will happen in any "stop-all" style debugger.</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Compile following C++ code</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#include &lt;iostream&gt;
#include &lt;cstdlib&gt;
#include &lt;pthread.h&gt;

using namespace std;
#define NUM_THREADS 5

void *PrintHello(void *threadid)
long tid;
tid = (long)threadid; //set a breakpoint here
cout &lt;&lt; &quot;Hello World! Thread ID, &quot; &lt;&lt; tid &lt;&lt; endl;
pthread_exit(NULL);
}

int main()
{
pthread_t threads[NUM_THREADS];
int rc;
int i;
for (i = 0; i &lt; NUM_THREADS; i++) { //set a breakpoint here
cout &lt;&lt; &quot;main() : creating thread, &quot; &lt;&lt; i &lt;&lt; endl;
rc = pthread_create(&amp;threads[i], NULL,
PrintHello, (void *)i);
if (rc) {
cout &lt;&lt; &quot;Error:unable to create thread,&quot; &lt;&lt; rc &lt;&lt; endl;
exit(-1);
}
}
pthread_exit(NULL);
}"><pre class="notranslate"><code class="notranslate">#include &lt;iostream&gt;
#include &lt;cstdlib&gt;
#include &lt;pthread.h&gt;

using namespace std;
#define NUM_THREADS 5

void *PrintHello(void *threadid)
long tid;
tid = (long)threadid; //set a breakpoint here
cout &lt;&lt; "Hello World! Thread ID, " &lt;&lt; tid &lt;&lt; endl;
pthread_exit(NULL);
}

int main()
{
pthread_t threads[NUM_THREADS];
int rc;
int i;
for (i = 0; i &lt; NUM_THREADS; i++) { //set a breakpoint here
cout &lt;&lt; "main() : creating thread, " &lt;&lt; i &lt;&lt; endl;
rc = pthread_create(&amp;threads[i], NULL,
PrintHello, (void *)i);
if (rc) {
cout &lt;&lt; "Error:unable to create thread," &lt;&lt; rc &lt;&lt; endl;
exit(-1);
}
}
pthread_exit(NULL);
}
</code></pre></div>
<ol dir="auto">
<li>Set two breakpoints in the lines with comments "//set a breakpoint here"</li>
<li>press F5 3~5 times</li>
<li>Notice, that if a breakpoint or step causes the threads to switch, the UI does not indicate which thread is currently stepping. Multiple callstacks may be displayed, which can be confusing.</li>
</ol>
<ul dir="auto">
<li>VSCode Version:0.10.10</li>
<li>OS Version:windows 10</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>type<br>
<code class="notranslate">var a              = ENV === 'dev' ? "a" : "b";</code></li>
<li>" : " is consider as variable type</li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/2296934/14123335/a494c0b0-f61d-11e5-9974-2dc11a4de218.png"><img src="https://cloud.githubusercontent.com/assets/2296934/14123335/a494c0b0-f61d-11e5-9974-2dc11a4de218.png" alt="err" style="max-width: 100%;"></a></p>