Debugging issue in Visual Studio 2017

前端 未结 2 1531
误落风尘
误落风尘 2021-01-02 05:26

When starting my project in debug mode, I get the following error and have to stop debugging:

\"Error

相关标签:
2条回答
  • 2021-01-02 05:36

    Got the same problem with VS2019 (Version 16.7.6). My Problem was that the Constructor Call implicitely called a getter which was dependend on another property, which wasnt created at that time, I think. Changed the code, problem was solved.

    0 讨论(0)
  • 2021-01-02 05:51

    I was also seeing the error message in this question with Visual Studio 2017 Version 15.7.0. The original poster doesn't say what studio version was involved.

    I found this limited post on another site: https://www.devexpress.com/Support/Center/Question/Details/T581002/evaluation-of-service-timed-out-and-needed-to-be-aborted-in-an-unsafe-way

    That post was regarding version 17.2.3 but there's not details other than an upgrade seemed to have "fixed" the issue and sadly the upgrade version isn't supplied.

    I've upgraded from 15.7.0 to 15.8.1 and the situation is different. First the error message has changed and second, for me, I can now continue to debug and run my program. Previously the state of the system was messed up and I couldn't continue running / debugging, my program was in a strange hung state.

    New error message text: 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.

    0 讨论(0)
提交回复
热议问题