Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does F10 (step over) in Visual Studio not work?

I'm debugging a (web) project in Visual Studio 2008. I'm hitting a breakpoint. F10 continues to the next line, as expected, but the next F10 just stops debugging and the code continues without any more debugging (like pressing F5). Why is this happening?

  • I have tried 'clean solution'.
  • Other breakpoints sometimes(!) skipped, even in the same method

Any clues?

like image 385
edosoft Avatar asked May 19 '09 10:05

edosoft


3 Answers

It is probably because you do not have the update kb 957912 for Visual Studio 2008. That fixed the same issue on my machine.

like image 120
Alyn Avatar answered Oct 11 '22 15:10

Alyn


Make sure that you're in Debug mode not in Release.

like image 43
Vadim Avatar answered Oct 11 '22 16:10

Vadim


Without knowing more about your application it's difficult to say, but usually this sort of thing happens when the process starts a thread or otherwise goes into code where there isn't any debug information.

like image 1
ChrisF Avatar answered Oct 11 '22 15:10

ChrisF