Hang while debugging ASP.Net on Windows 2003

From: Stu Carter (Stu.Carter_at_somekindofcompany.co.uk)
Date: 09/28/04


Date: Tue, 28 Sep 2004 13:36:43 +0100

Hi,

ENV: Windows 2003 Enterprise, Devstudio 2003, .Net framework 1.1, Office
2003 SP1

Since applying the Visual Studio/Office/Windows hotfixes for the JPEG issue,
I am having problems debugging an ASP.Net application.

Visual Studio will hang and consume anywhere from 10% to 90% CPU when
starting debugging of an ASP.Net application. This happens when either
starting the debugger from the IDE or attaching to the w3wp.exe process.
Looking via task manager, the devstudio.exe process is simply spinning CPU
cycles - there is no change in memory usage.

This happens frequently, but intermittently. If it helps, when attaching to
the w3wp.exe process, the point at which devstudio hangs is almost instantly
after I hit "OK" on the "Attach to process" dialog. The IDE does not
refresh after that point or show any indication it has attached
successfully.

The ASP.Net application is running in IIS6 native mode under the default
application pool identity (NETWORK SERVICE).

This has never happened before to me or my colleagues (who haven't applied
the patch yet). Whether it was the JPEG fix or another hotfix, I don't
know. I can't obtain any more hotfixes as the Windows Update web mechanism
hangs at 66% detecting... :)

Do you have any suggestions? Please let me know if you need tracing etc.

Thanks,
Stuart



Relevant Pages

  • RE: VS.NET 2003 Debugger hangs.
    ... object properties in the watch window, ... > do with this problem because when debugging the client only the issue never ... > hangs and is irrespective of how I step through the code. ...
    (microsoft.public.vsnet.debugging)
  • Re: Visual Studio locking-up for all debug functions
    ... debugging and managed debugging? ... > Yesterday I did a complete NEW install of VS.NET (including the ... > The computer hangs up (when in VS.NET and I click a debug function) and I ...
    (microsoft.public.vsnet.debugging)
  • Re: Big problems with 7.1 locking up :-(
    ... Sometimes these debugging tools are able to convert hangs into panics, which gives us much more ability to debug them. ... Lock order reversals are warnings of potential deadlock due to a lock cycle, but deadlocks may not actually result, either because it's a false positive, or because a cycle didn't actually form. ... Features like WITNESS and INVARIANTS may change the timing of the kernel making certain race conditions less likely; I'd run with them for a bit and see if you can reproduce the hang with them present, as they will make debugging the problem a lot easier, if it's possible. ...
    (freebsd-stable)
  • RE: PC hangs on Debugging
    ... Is your app a multi threaded app? ... >Priority: normal ... While i am debugging using my VC++ 6.0,the PC hangs suddently and the only ...
    (microsoft.public.vc.debugger)
  • Re: dump broken with new kernel
    ... On Wed, 8 Dec 2004, Poul-Henning Kamp wrote: ... > uet writes: ... I'm now debugging the amrdriver as it ... hangs with a "bad slot 0 completed" message. ...
    (freebsd-current)

Loading