Search code examples
c#visual-studioresharpervisual-studio-2005breakpoints

Strange behaviour when breakpoint in visual studio 2005


I have to maintain a C# project built in VS 2005 (.NET 2.0), but when I put a breakpoint in specific line during debug, something strange happens:

Before breakpoint

After breakpoint

I have found that Resharper could cause those kind of "problems", but its licence has been expired from more than six months.


Solution

  • Finally, I solved the issue uninstalling completely resharper from my laptop. Here is the reference link (for me, point 2 worked):

    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