Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 Debugger jumps around

I have a simple C# Winforms application. It isn't multi-threaded (yet). When I debug it and step through the code at work, it debugs just as expected with the debug cursor moving line by line. But when I try doing this at my home computer, it behaves very erratic. The cursor will randomly jump to an unrelated line of code in the middle of another method that hasn't even been called yet etc.

The differences are: At work I use VS2010 Professional, at home I have VS2010 Ultimate At work, I use Win XP, at home I use Win 7 Ultimate At work, its a dual core Athlon, at home a quad core Phenom II

like image 290
xbonez Avatar asked Feb 08 '11 14:02

xbonez


1 Answers

Your symbols file might not match your source. Try deleteing your /bin folder and rebuilding the solution.

like image 125
asawyer Avatar answered Sep 26 '22 03:09

asawyer