Re: attach to process not started in debug mode?
- From: jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Wed, 11 Jul 2007 02:48:56 GMT
Hi Les,
Thank you for providing the background infomation!
Yes, you may install the VS Express on the production server and use the VS
debugger to launch the application waiting for the hang. When the hang
appears in the debuggee, you may press Ctrl+Break in VS Express debugger to
stop the hang application. In the Call Stack window, you may get the hang
call stack of your application(remember to switch to the hang thread in the
Threads window). Note: to get the full stack trace of the hang, you may
need to disable the "Just My Code" feature of VS2005 debugger(the default
setting is on). Please refer to the link below for details:
"How to: Step Into Just My Code"
http://msdn2.microsoft.com/en-us/library/h5e30exc.aspx
"Is 'Just my Code' for you?"
http://blogs.msdn.com/greggm/archive/2004/07/29/201315.aspx
Actually, due to the big footprint of Visual Studio, it would be better to
use windbg or Process Explorer to troubleshoot the hang problem. My blog
entry below demonstrated the detailed steps:
"How to debug application crash/hang in production environment?"
http://blogs.msdn.com/msdnts/archive/2006/11/24/how-to-debug-application-cra
sh-hang-in-production-environment.aspx
Hope this helps.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- Re: attach to process not started in debug mode?
- From: Les Caudle
- Re: attach to process not started in debug mode?
- References:
- attach to process not started in debug mode?
- From: Les Caudle
- RE: attach to process not started in debug mode?
- From: "Jeffrey Tan[MSFT]"
- Re: attach to process not started in debug mode?
- From: Les Caudle
- Re: attach to process not started in debug mode?
- From: "Jeffrey Tan[MSFT]"
- Re: attach to process not started in debug mode?
- From: Les Caudle
- attach to process not started in debug mode?
- Prev by Date: Re: MVC Framework
- Next by Date: Re: Thread safety of events
- Previous by thread: Re: attach to process not started in debug mode?
- Next by thread: Re: attach to process not started in debug mode?
- Index(es):
Relevant Pages
|