Why does Visual Studio not hit breakpoint until second debug session?

前端 未结 1 1094
我在风中等你
我在风中等你 2021-01-12 02:36

When debugging a unit test through either the TEST menu or the right-click context menu, VS2013 always ignores the breakpoint in the unit test after making a code change to

相关标签:
1条回答
  • 2021-01-12 02:49

    My suspicion is that this has to do with VS2013's new feature "Keep Test Execution Engine Running".

    You can toggle that feature in Visual Studio's menu via "TEST - Test Settings".

    You might also be able to specify that behaviour by using a runsettings file with KeepExecutorAliveAfterLegacyRun set to false: http://msdn.microsoft.com/en-us/library/vstudio/jj635153.aspx.

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