Your source code and assembly could be out of sync - rebuild the application and try again. P.S : it is strange that i have heard a lot about this problem with VS2010 :D
EDIT : if you are using some kind if dlls, maybe you nead the debugging symbols (the "pdb" file) to be in the same folder as the dll.