"myapp.exe has triggered a breakpoint" while debugging - afterwards slow symbol loading in Visual Studio 2015 Update 3
<p>We have a C++ project in STA mode which opens an C#/WPF lib that hosts an ESRI ArcEngine <code>MapControl</code> via WindowsFormsIntegration. This worked fine in Visual Studio 2013. Since we switched to VS2015 Update 3 starting the ArcEngine part while debugging (both in Debug and Release) is horribly slow after an mysterious breakpoint is hit in wntdll.pdb: "ArcEngineTestApp.exe has triggered a breakpoint."</p>

<p><a href="https://i.stack.imgur.com/YuiVp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YuiVp.png" alt="enter image description here"></a></p>

<p>There is no further explaination in the Output window (see full <a href="http://pastebin.com/f1iUnPXw" rel="nofollow noreferrer">output</a>). When I hit continue, the app continues loading symbols, but at least from now on it's definitly slower than in Visual Studio 2013. It takes VS 2015 15s to reach the breakpoint and 2:15m to complete the loading afterwards. VS 2013 shows the ArcEngine in 15-20s. See this screenshot for comparision (unfortunatly one can't copy the timestamp)
<a href="https://i.stack.imgur.com/cni5i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cni5i.png" alt="enter image description here"></a></p>

<p>When I hit break on the message, "wntdll.pdb not loaded" is shown:</p>

<p><a href="https://i.stack.imgur.com/Ji4sT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ji4sT.png" alt="enter image description here"></a></p>

<p>Loading the pdb from the Microsoft server fails.</p>

<p>To demonstrate this we made a <a href="https://1drv.ms/u/s!AmuX_SN-tDXsdOnTIy05zvopZXs" rel="nofollow noreferrer">demo project</a> (see below for details).</p>

<p>This only occurs while debugging. The compiled app works fine and fast.</p>

<p><strong>What we have tried yet without success:</strong></p>

<ul>
<li>searched for the "has triggered a breakpoint" message without finding a similar issue.</li>
<li>Deactivated settings known for performance problems (UI Debugging Tools for XAML, Diagnostics Tools, IntelliTrace)

<ul>
<li>In Debugging / Symbols is no symbol server activated</li>
<li>There are no VS extensions installed that are known to have an impact on performance. (See below for full list)</li>
<li>Tried different ArcEngine versions (10.3.1 and 10.4)</li>
<li>Load the symbols from both MS and ESRI symbol server and cache them locally.</li>
<li>Delete all breakpoints</li>
<li>I completly reinstalled my PC. Now only one Visual Studio is installed (2015)</li>
<li>Tested on another PC (several VS installed) - same behavior</li>
</ul></li>
</ul>

<p>List of installed extensions:</p>

<ul>
<li>ArcObjects SDK Integration for Desktop Addins</li>
<li>ArcObjects SDK Integration Utilities</li>
<li>Developer Analytics Tools</li>
<li>Format document on Save</li>
<li>Microsoft.NET Core Tools</li>
<li>Microsoft ASP.NET and Web Tools</li>
<li>Microsoft ASP.NET Web Frameworks and Tools</li>
<li>Microsoft Azure App Service Tools</li>
<li>Microsoft Connected Services</li>
<li>NuGet Package Manager for VS 2015</li>
<li>Productivity Power Tools 2015 (only timestamps in output window is activated)</li>
<li>TypeScript for Microsoft Visual Studio</li>
<li>Visual Studio Extensibillity Templates</li>
</ul>

<p>VS 2015 <a href="http://pastebin.com/f1iUnPXw" rel="nofollow noreferrer">Output</a> (beginning with the start of the ArcEngine call).</p>

<p>To run the <a href="https://1drv.ms/u/s!AmuX_SN-tDXsdOnTIy05zvopZXs" rel="nofollow noreferrer">Demo project</a>, you need a valid ArcEngine license and the ArcEngine SDK. Due to license reasons we can't publish the ESRI dlls. Copy them into the project folder "ArcEngineTestLibs".</p>

<p>Debugging settings in Visual Studio 2015:
<a href="https://i.stack.imgur.com/1jG4I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1jG4I.png" alt="enter image description here"></a></p>