Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Visual Studio debugging mode not work properly (performing F5 when F11 was pressed)? [duplicate]

Possible Duplicate:
Why does Microsoft Visual C# 2008 Express Edition debugger randomly exit?

I've faced the strangest problem with Visual Studio C# debugger in my career. In short, after a break point in my code was hit I cannot step through the code. F11 (step into) and F10 (step over) work for several times, but eventually Visual Studio performs F5 (continue) action. I am still able to debug using break point on every line.

This behavior reproduces on each project developer's machine. It's Visual Studio SP1 everywhere.

I've checked every (as far as I understand) option. I've disabled "Just My Code". I've disabled "step through properties". I've disabled automatic property evaluation. In despair, I've recreated all project and solution files from scratch.

Is there any solution to my problem?

Update This behavior could be reproduced only on this project.

Update 2 This does not seems like threading problem: it reproduces under Visual Studio's developer web server...

like image 207
Artem Tikhomirov Avatar asked Oct 15 '22 17:10

Artem Tikhomirov


1 Answers

This KB article might be interesting for those that find this thread back.

like image 197
Hans Passant Avatar answered Oct 20 '22 17:10

Hans Passant