It seems that my .NET Framework debug symbols and their corresponding source files are out of sync.
Here is an example. I’m trying to step in to ASP.NET MVC from a view. So I set a breakpoint on a function in ASP.NET MVC (using a function name). When Visual Studio stops there, it’s actually in the correct function, but the yellow highlighter is little bit off, I cannot inspect variables and when I step in the code, the yellow highlighter seems to be jumping randomly. Visual Studio apparently thinks it is in different location / file.
To be sure, I deleted all cached debug symbols (in my case the C:\Symbols directory), but it still not help.
Am I doing something wrong? How can I fix it? Is there some other cache?