Why does my debugger accidentally jump out of debug mode?

I experience very nasty debugging behavior in Visual Studio 2008 Professional. I am debugging an ASP.NET web application, and when I go through the code, the debugger randomly jumps out of debug mode, but without stopping the debugger. Therefore, when I execute my code as follows:

go, go, go, step over, ..., step over

The debugger continues as if I click Continue, for example:

go, go, go, step over, ..., continue

Thing, I never touch the sequel!

So, the debugger is still running, the ASP.NET page is displayed, but my "step" ends. This, of course, is very annoying. And this happens by accident.

Before upgrading to Windows 7 and IIS 7.5, I never experienced this problem. My colleague, who is debugging the same code, but on a machine running Windows XP that is running IIS 6, also did not have this problem. So, I think, maybe this is due to Windows 7 or IIS 7.5?

I have already made sure that it is <compilation defaultLanguage="c#" debug="true" />installed in the web.config file.

Has anyone experienced the same problem, or perhaps thought, why am I experiencing this annoying behavior?

Thanx!

PS I understand that this question may be more specific to Visual Studio 2008, and not specific to programming, but I believe that my best chance to find someone who has the same problem will be on the forum for programmers (because, naturally, programmers are the most frequent users of Visual Studio 2008).

+3
1

Visual Studio 2008 SP1. ( ) .

+4

Source: https://habr.com/ru/post/1737477/


All Articles