Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I started working with the new Visual Studio 2010. One thing in debugging mode is really annoying: When you press F5 to continue without stepping, the program does not continue like it used to do in Visual Studio 2008 and before but it breaks in certain conditions, even the Disassembly was opened once. How can I avoid that?

share|improve this question

1 Answer 1

VS breaks when a condition is encountered. There are two kinds of conditions:

  1. Exceptions,
  2. User-defined break-points or watch-points.

As you are not defining break-points, there must be some exceptions that are causing the break. These exceptions might have been handled differently in your previous VS version.

You can learn about exceptions and the Exceptions Dialog in Exception Handling.

However, you had better examine very carefully why these exceptions were triggered, because they might just be simple bugs in your code that were not detected by the previous VS (or maybe new conditions that didn't previously arrive).

The Disassembly window is shown when no source-code exists at the address. Sometimes when source-code does exist, one needs to right-click the window and pass to source mode.

share|improve this answer
    
Thank you for the reply. There were some exceptions I had enabled that can be disabled now. There are less exceptions now. But still there occur disassembly breakpoints that I do not want. Some exceptions in Visual Studio I cannot disable. Is there a way around that? –  gentlesea Nov 9 '10 at 13:19
    
I need some more details about these exceptions. –  harrymc Nov 9 '10 at 13:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.