Visual Studio 2017 Debug Error: To prevent an unsafe abort when evaluating the function *.toString all threads were allowed to run

前端 未结 2 1343
梦毁少年i
梦毁少年i 2020-11-29 07:52

I updated Visual Studio 2017 to version 15.8.2.

After this update, I started to encounter these errors while debugging:

Here are the er

2条回答
  •  迷失自我
    2020-11-29 08:34

    I add the same error message but with a different function name :

    To prevent an unsafe abort when evaluating the function 'Microsoft.VisualStudio.Debugger.Runtime.Tracing.Refresh' all threads were allowed to run. This may have changed the state of the process and any breakpoints encountered have been skipped.


    This is how I got rid of this pesky bug :
    In Visual Studio 2017 go to
    Tools → Options → Debugging → General → Check 'Use Managed Compatibility Mode'
    thanks to this article :
    https://www.codeart.dk/blog/2018/9/vs2017-debugger-timeout/

提交回复
热议问题