visual studio 2005 中的断点时的奇怪行为

Strange behaviour when breakpoint in visual studio 2005

我必须维护一个在 VS 2005 (.NET 2.0) 中构建的 C# 项目,但是当我在调试期间在特定行放置断点时,发生了一些奇怪的事情:

我发现 Resharper 可能会导致此类问题 "problems",但其许可证已过期超过六个月。

最后,我解决了从我的笔记本电脑上完全卸载 resharper 的问题。 这是参考 link(对我来说,第 2 点有效):

https://resharper-support.jetbrains.com/hc/en-us/articles/206545359-Uninstalling-ReSharper-Ultimate-tools-from-Visual-Studio

To completely remove ReSharper Ultimate tools from Visual Studio, please try the following:

  1. Run ReSharper Ultimate installer once again - do you have any products with status Repair? If so, please select Remove for them and select Skip for others.
  2. If there are no items with Repair action, please remove the following folder manually %LocalAppData%\Microsoft\VisualStudio{Visual Studio version}\Extensions\JetBrains
  3. If Visual Studio still thinks ReSharper is installed, try deleting the following Windows Registry branch HKEY_CURRENT_USER\Software\Microsoft\VisualStudio{VS version}_Config