如何解决刚好消失.NET应用程序? [英] How to troubleshoot .NET application that just disappears?

查看:145
本文介绍了如何解决刚好消失.NET应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一个.NET 2.0应用程序的开始只是随机消失。有在事件日志中没有记录,华生医生不产生崩溃转储,什么都没有......

One of our .NET 2.0 application started to just randomly disappear. There are no records in the Event log, Dr. Watson doesn't generate crash dump, no nothing...

如何解决这个应用程序?

How to troubleshoot this application?

推荐答案

更​​多可能:

  • (简易)使用将procmon ,看看有什么资源(文件,注册表等),该程序正在访问或得到拒绝访问
  • (更多困难)使用简单的调试器像<一个href="http://blogs.msdn.com/msdnts/archive/2006/11/24/how-to-debug-application-crash-hang-in-production-environment.aspx"相对=nofollow>的WinDbg或ProcExp
  • (最难)将一个大醇'调试器进程(的附加Visual Studio的调试器的EXE文件的注册表设置;或检查出的大导的生产调试)
  • (Easy) Use procmon to see what resources (files, registry, etc.) that the program is accessing or getting denied access to
  • (More Difficult) Use simple debuggers like WinDbg or ProcExp
  • (Hardest) Attach a big ol' debugger to the process (attach Visual Studio's debugger from the EXE's Registry settings; or check out the big guide to debugging in production)

这篇关于如何解决刚好消失.NET应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆