views:

142

answers:

1

Hi,

I'm experiencing a very annoying behaviour with the debugger in Visual Studio 2008 Professional. I'm debugging a ASP.NET web application, and when stepping through the code the debugger randomly "jumps out" of debug mode, but without the debugger stopping. So when I'm stepping through my code like this:

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

The debugger continues as If I was pressing Continue, like this:

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

Thing is, I never touch continue!

So, the debugger is still running, the ASP.NET page renders, but my "stepping" ends. This is of course very annoying. And it happens totally randomly.

Before switching to Windows 7 and IIS 7.5, I've never experienced this problem. My colleague who debugs the exact same code, but on a Windows XP machine running IIS 6 have never had this problem either. So my thought is, perhaps this is Windows 7 or IIS 7.5 related?

I've already made sure <compilation defaultLanguage="c#" debug="true" /> is set in web.config.

Have anyone experienced the same problem, or perhaps have an idea why I'm experiencing this annoying behavior?

Thanx!

P.S I realize this question might be more Visual Studio 2008 specific rather than programming specific, but I figure my best chance to find somebody that experienced the same problem would be at a forum for programmers (since naturally, programmers are the most frequent users of Visual Studio 2008).

+3  A: 

This was due to a known problem with Visual Studio 2008 SP1. This article (with reffered hotfix) solved the problem.

Clean