<ul dir="auto">
<li>VSCode Version: Version 1.0.0-alpha Commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/microsoft/vscode/commit/6ea1266160aa9eb3ed6e71a5099bec3952090037/hovercard" href="https://github.com/microsoft/vscode/commit/6ea1266160aa9eb3ed6e71a5099bec3952090037"><tt>6ea1266</tt></a></li>
<li>OS Version: Ubuntu 14.04</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Compile <a href="https://gist.github.com/edumunoz/6e2ca90d4b5d3dbfa5340576e79ac113">https://gist.github.com/edumunoz/6e2ca90d4b5d3dbfa5340576e79ac113</a> with <code class="notranslate">g++ -g -std=c++11 -pthread hello.cpp -o hello</code></li>
<li>Install the <a href="https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools" rel="nofollow">C++ debug adapter</a></li>
<li>Set a breakpoint in line 17 from the gist</li>
<li>Have the main thread expanded in the callstack viewlet</li>
<li>Expand another thread and click on a frame for which no source is available</li>
<li>The "Load More Stack Frames" button appears for the main thread</li>
<li>The "Load More Stack Frames" button is clicked, the callstack for the main thread gets duplicated (two <code class="notranslate">main()</code> in the screenshot)</li>
</ol>
<p dir="auto">Step 3<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/637952/14575064/49c19a7e-0314-11e6-8863-6b457d261f6e.png"><img src="https://cloud.githubusercontent.com/assets/637952/14575064/49c19a7e-0314-11e6-8863-6b457d261f6e.png" alt="loadmoreframes-1" style="max-width: 100%;"></a></p>
<p dir="auto">Step 5<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/637952/14575071/5a5a64f6-0314-11e6-8438-f0e9390a7d53.png"><img src="https://cloud.githubusercontent.com/assets/637952/14575071/5a5a64f6-0314-11e6-8438-f0e9390a7d53.png" alt="loadmoreframes-2" style="max-width: 100%;"></a></p>
<p dir="auto">Step 6<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/637952/14575076/64f29410-0314-11e6-8a2f-a06df05cb8e2.png"><img src="https://cloud.githubusercontent.com/assets/637952/14575076/64f29410-0314-11e6-8a2f-a06df05cb8e2.png" alt="loadmoreframes-3" style="max-width: 100%;"></a></p>
<p dir="auto">I understand if the debug adapter implements the "Load More Frames" feature, this will work. However the experience seems kind of weird if the debug adapter doesn't implement the feature (like C++ debug adapter as of now).</p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/isidorn/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/isidorn">@isidorn</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/weinand/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/weinand">@weinand</a></p>
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: OS X 10.11.5</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>Open a file and change its language.</li>
<li>Open the file in the git changes view.</li>
</ol>
<p dir="auto">The old version will be displayed in the default language for the file, ignoring the user selection.</p>