Visual Studio 2008 debugger randomly dies

I get a rather strange error when trying to debug a .NET web application.

My system: Windows 7 Ultimate (IIS7), Visual Studio 2008, DotNetNuke 4.8.2.

I have a web application that I am trying to connect a debugger to w3wp.exe. I set a breakpoint in my code: maybe the page is ascx.cs or the library I'm referring to.

Here's the weird part. As soon as I go over this part of the website, the code will break and I can debug, go between 1-20 lines of code and suddenly it is as if I clicked Continue. Timing does not seem significant (sometimes this happens after 2 minutes, sometimes after 2 seconds), and there are no error messages on the output.

If I try to connect a debugger with both managed and native, it goes into disassembly mode for w3wp. Again, no real obvious mistake.

Can anyone at least point me in the right direction as to what the debugger can interrupt? Without error messages, I can't even figure out where to go next.

I tried:

  • Restoring Website Configuration in IIS
  • Check the application pool settings to make sure it is not disabled.
  • disable all imaginable services on my computer.
  • Resetting my Visual Studio
  • Project Recovery
+3
source share
1 answer

This is a bug in the VS2008 SP1 debugger. MS released the fix some time ago:

http://support.microsoft.com/kb/957912

:

"go"

+2

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


All Articles