Mik*_*e07 10 .net debugging visual-studio-2012
我有一个奇怪的问题.每当我开始调试并停止调试,如果文件有断点,我将无法直接在Visual Studio中打开它.
我安装了ReSharper 7.1和StyleCop但禁用并安装了VS 2012 Update 2但它没有解决我的问题.
如果我点击断点,我会收到一个错误:
Unable to go to the breakpoint. The ViewManager.ActiveView must be a View contained within the ViewManager.WindowProfile.
Run Code Online (Sandbox Code Playgroud)
如果我再次调试并且Visual Studio必须达到断点,我得到:
'TheFile' not found.
You need to find 'TheFile' to view the source for the current call stack frame.
Run Code Online (Sandbox Code Playgroud)
让我的文件再次打开的唯一解决方案是关闭并重新打开Visual Studio.
小智 7
当尝试从 Visual Studio 打开我的 .cs 文件之一时,我遇到了同样的错误。事实证明,我同时打开了太多文件,而且我一定已经达到了某种内部限制。关闭 VS 中所有打开的文件后,这种情况不再发生。
要在调试后停止关闭所有文件,只需转到
Tools > Import and Export Settings > Reset Settings
Run Code Online (Sandbox Code Playgroud)
这将修复此错误,我保存旧设置导致此错误,但我不确定在设置中具体导致它的原因.在沮丧地寻找这个问题的明确答案后,我希望这可以帮助其他可能有这个问题的人.
我在使用 Reshaper 7.1 时遇到过几个类似的调试问题。卸载它解决了我的问题。我不会声称问题出在 Reshaper 中,因为我安装了其他插件,但其他插件不会出现此类问题,因此必须放弃 Reshaper。
归档时间: |
|
查看次数: |
6445 次 |
最近记录: |