RE: Anyone else seeing this kind of debugger hang?

From: WalterLeinert (WalterLeinert_at_discussions.microsoft.com)
Date: 10/20/04


Date: Wed, 20 Oct 2004 06:15:01 -0700

Hi Jack,

i found a similar solution: it's possible to attach a hanging VS.NET with a
second VS.NET which normally solves the problem (i only used a second
VS.NET2005).

Regards, Walter

"Jack Menendez" wrote:

> 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: VS2005, Debugging my CustomInstaller.dll
    ... to "Attach a Process", MSIEXEC.EXE, for debugging. ... x86" and now you can attach this process for debugging. ... CustomInstaller.dll during the app's Uninstall process. ... my CustomInstaller code. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: vkernel & GSoC, some questions
    ... Can't you say qemu -s and attach gdb to that port as well? ... printf debugging was sufficient for me so far. ... Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. ...
    (freebsd-hackers)
  • Re: Windows Services
    ... so u mean to say that i can accept a socket and receive messages but i cant ... > While it's possible to enable this option for quick and dirty debugging, ... >> Multithreaded Server monitoring a Port Number and if any informations come ... >> with regards, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Sending Multiple Attachments from Outlook
    ... Viele Gruesse / Best regards ... Michael Bauer - MVP Outlook ... I now manually attach 1 to 3 product ...
    (microsoft.public.outlook.program_vba)
  • Re: FastMove with XP SP2-DES enabled
    ... Version 2.3 can be found in the attachments ... The Program just terminates during ... while debugging i wasn't even able to check if SrcProc ...
    (borland.public.delphi.language.basm)