Visual Studio 2008 Skipping lines while debugging
If you have a problem with Visual Studio 2008 SP1 skipping lines in a for loop while you are 'stepping over' there is a hotfix for Visual Studio (KB957912). Apparently Visual Studio can treat a 'step over' as a 'run' while inside of a for loop. http://code.msdn.microsoft.com/KB957912/Release/ProjectReleases.aspx?ReleaseId=1796