Is any difference which (managed and unmanaged) threads are paused based on debugger settings in VS?
<p>We develop a .NET application in Visual Studio 2013 which calls native C++ library.</p>

<p>The problem is that the app freeze after it is break from VS and continued from VS if native code debugging is not enabled and just my code disabled. The native library use extensively threads <a href="http://en.cppreference.com/w/cpp/thread" rel="nofollow">provided by C++11</a> and this native library is loaded in runtime by <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms684175(v=vs.85).aspx" rel="nofollow">LoadLibrary</a> function.</p>

<p>In more detail:</p>

<p>Debugger setting:</p>

<pre><code>native code debugging: disabled
just my code:          enabled
</code></pre>

<p>When I break the debugger by pause button, the application breaks. Then I continue the execution by click the continue button in VS. The <strong>application freeze</strong> and not continue. Probably some native thread is still frozen by debugger?</p>

<p>Debugger setting:</p>

<pre><code>native code debugging: enabled
just my code:          disabled
</code></pre>

<p>When I break the debugger by pause button, the application breaks. Then I continue the execution by click the continue button in VS. The <strong>application continue without any problem</strong>.</p>

<p>Debugger setting:</p>

<pre><code>native code debugging: enabled
just my code:          enabled
</code></pre>

<p>When I break the debugger by pause button, the application breaks. Then I continue the execution by click the continue button in VS. The <strong>application continue without any problem</strong>.</p>

<p>How it is possible that the debugger settings cause freezing of application after break and continue?</p>

<p>Is there some difference which (managed and unmanaged) threads are paused based on debugger settings?</p>

<p>Can it happen that managed threads are paused and unmanaged still running when debugger is paused and native debugging is not enabled?</p>