<p>Debugging in visual studio seems to have been broken with sp1.
Single stepping randomly does not work and just starts to run. Sometimes breakpoints are ignored. It is unpredictable and unusable.  It will generally hit the first break point but after that it is totally unpredictable. </p>

<p>Any idea what needs to be done to correct this behavior ?  </p>

[{'answer_id': 23123, 'author': 'Coincoin', 'author_id': 42, 'author_profile': 'https://Stackoverflow.com/users/42', 'pm_score': 2, 'selected': False, 'text': '<p>Make sure you are debuging using the debug configuration, not the release one. Also make sure optimizations are disabled in debug configuration.</p>\n\n<p>Optimizations must be off when you debug else it can lead to very erratic behaviours like these.</p>\n\n<hr>\n\n<p>For C# projects, which I am assuming the question is about looking at the tags, the optimization option would be located in the "Build" tab of "Project > Properties..." Last option of "General" it\'s called "Optimize Code".</p>\n'}, {'answer_id': 128426, 'author': 'Napco', 'author_id': 2539, 'author_profile': 'https://Stackoverflow.com/users/2539', 'pm_score': 0, 'selected': False, 'text': '<p>We are using c# as a language.</p>\n\n<p>The problem has been identified by microsoft.</p>\n\n<p>quote from forums:</p>\n\n<blockquote>\n  <p>We have identified the root cause of this issue and are currently working on a solution. We apologize for the inconvenience that this is causing you. We will let you know as soon as we have a solution. In the mean time, if we discover any workrounds, we will post them here.</p>\n</blockquote>\n'}, {'answer_id': 824072, 'author': 'Željko Tanović', 'author_id': 61299, 'author_profile': 'https://Stackoverflow.com/users/61299', 'pm_score': 2, 'selected': False, 'text': '<p>There is a fix which for some reason isn\'t included in the update process:</p>\n\n<p><a href="http://code.msdn.microsoft.com/KB957912/Release/ProjectReleases.aspx?ReleaseId=1796" rel="nofollow noreferrer">http://code.msdn.microsoft.com/KB957912/Release/ProjectReleases.aspx?ReleaseId=1796</a></p>\n\n<p>It worked for me although some people say they still have the same problem. </p>\n'}]
['https://Stackoverflow.com/questions/23078', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2539/']