开发者

Why do my debugger randomly jump out of debug mode?

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 2开发者_如何学运维008 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).


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜