I find often that breakpoint on line of code I know are executing do not break correctly.
It also often “runs away” when I do a “step over”, or “step into” etc.
Details.
- Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
- Microsoft .NET Framework Version 3.5 SP1
- The code is a mixture of VB.NET and C# with most of the code in VB.NET.
- There are a lot of active threads
- A lot of exceptions are throw and caught by the software.
- Microsoft(R) Windows(R) Server 2003, Standard Edition
Some other people on the team have seen this problem at different times, but on one know how they fixed it!
Update, thinks for all the useful answers they will help other peole that hit this problem.
Hot fix KB957912 - Updates for Visual Studio 2008 SP1 debugging and breakpoints
Microsoft has released updates for Microsoft Visual Studio 2008 SP1 debugger components. These updates mostly address issues that occur with stepping and with hitting breakpoints.
This seems to have sorted the problmes out for me.