RE: Anyone else seeing this kind of debugger hang?
From: Jack Menendez (jack_at_redheeler.net)
Date: 10/20/04
- Next message: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Previous message: Jack Menendez: "Debugging Strong Named Assembly"
- In reply to: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Next in thread: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Reply: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Messages sorted by: [ date ] [ thread ]
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
>.
>
- Next message: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Previous message: Jack Menendez: "Debugging Strong Named Assembly"
- In reply to: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Next in thread: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Reply: WalterLeinert: "RE: Anyone else seeing this kind of debugger hang?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|