RE: Anyone else seeing this kind of debugger hang?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jack Menendez (jack_at_redheeler.net)
Date: 10/20/04


Date: Wed, 20 Oct 2004 05:27:56 -0700

Try this,
1. Open Visual Studio and load your project.
2. Open a second Visual studio and attach the debugger to
the first devenv.exe.
3. Now start debugging your project. Magic! the problem
seems to go away but eventually, after several debugging
sessions devenv.exe will hang in a new way but at least
you can debug.
>-----Original Message-----
>Hi Jack,
>
>i have the same problem and same usage scenario like
you; it's very
>annoying. The last hour i restarted my solution at least
6 times and could
>not debug my application due to vs.net / debuggee hangs.
>
>Environment: XP-SP1, .NET-1.1-SP1, VS.NET-2003,
ClearCase-AddIn
>WindowsForms/CS-Solution, about 60 projects.
>
>The debuggee shows up with about 60k of memory (-> very
small) and seems
>that it just loaded ntdll.dll as the only dll. One
thread is executing and is
>in state "Wait: Suspended".
>
>I don't have any idea what's the reason for the issue.
Several collegues are
>working with the same solution without have the problem.
Might be a problem
>of the workstation (XP, products, VS-AssIns, ...).
>
>Do you have a solution/workaound for the problem?
>
>Regards, Walter
>
>
>"Jack Menendez" wrote:
>
>> In VS.NET 2003, the debugger hangs while I am
stepping "F-10" through my code
>> making various calls.
>>
>> I have exceptions in managed code set to stop when, in
most cases,
>> exceptions are thrown but the rest stop if not
handled.
>>
>> My project is set to debug managed code only.
>> This application consists of Managed code in C# only
>> Large Windows.Forms application 30+ assemblies and
projects
>> All assemblies are strongly signed.
>> Some assemblies are large, over a megabyte.
>> XML documentation files are generated with the same
name as the assemblies.
>> This is a Multi-threaded application but the code I am
stepping through at
>> the time of the hang is running in the UI thread. The
hang is in random
>> places.
>> The only way out is to cancel the application, the
VS.NET comes back.
>>
>> Other problems I have observed:
>> 1. Visual Studio seems to go into a loop indefinately
just as it starts
>> putting up the debugging windows after hitting "F-5".
I have waited up to
>> half an hour to see if it comes back and it does not.
CPU for Devenv is 99%
>> during this time. My application uses 0% CPU and is
stuck at memory
>> usage=64K. This happens a lot. Must kill application
and VS.
>> 2. Exceptions not reported sometimes but reported
other times depending on
>> where you are stepping through the code.
>> 3. Visual Studio sometimes has the assembly files
locked and cannot copy
>> them when compiling. The only work around I've found
is to close all
>> document windows, stop VS.NET the restart it.
>> 4. Most times the XML files cannot be copied because
they are locked to but
>> that is a minor annoyance compared to the other things.
>> 5. I spend 15-20% of my time coping with these issues
now.
>>
>>
>>
>> --
>> Jack Menendez
>> Redheeler Software LLC
>.
>



Relevant Pages

  • Re: Debugging in Visual Studio 2008 with IE7
    ... I'm using Visual Studio 2008, asp.net, and Internet Explorer 7. ... (I usually use Firefox and I can set breakpoints with firebug, ... the Visual Studio debugger, even though it's a firefox add-in? ...
    (comp.lang.javascript)
  • Re: VS.Net Debugging stopped working
    ... I have tried to delete the pdb files, so that it would create new ones. ... The debugger output is this, ... > with the code...like if somehow you changed the output directories and ... >> I have run the repair feature in Visual Studio. ...
    (microsoft.public.dotnet.general)
  • RE: Debugger hangs when breaking into event handler
    ... have you set the symbol server in your VS2005 debugger? ... there are 2 types of hang: low CPU hang and high CPU hang. ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.debugging)
  • Re: Microsoft.SqlServer.Types is slowing down a call to Form.ActiveForm by a factor of 100!
    ... Visual Studio Hosting Process has been disabled. ... Sql Server Types Loaded ... This was all on a VPC running with the debugger attached on Visual Studio ... public void TestDeep ...
    (microsoft.public.dotnet.framework.performance)
  • Re: VS / PB 6 Always crashes on device boot using KITL / KdStub
    ... Most times with a memory guard exception or devenv exception ... PB Debugger The Kernel Debugger connection has been established ... "Microsoft Visual Studio 2005 has encountered a problem and needs ... to waste a couple of days doing a full system re-install as this ...
    (microsoft.public.windowsce.platbuilder)