Why do my debugger randomly jump out of debug mode?
Posted
by Clean
on Stack Overflow
See other posts from Stack Overflow
or by Clean
Published on 2010-03-18T07:39:46Z
Indexed on
2010/03/18
7:41 UTC
Read the original article
Hit count: 186
Hi,
I'm experiencing a very annoying behavior 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).
© Stack Overflow or respective owner