.NET应用程序调试技巧 [英] .NET Application Debugging Tips

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

问题描述

此论坛的第一篇文章,请保持温柔. :)

我们有一个使用C#编写的产品,该产品使用.NET 2在服务器上运行.这是正常过程,而不是服务.有时,我们会看到.NET 2.0.x致命执行引擎错误",我想了解一些调试此类问题的最佳方法的技巧.我对.NET几乎一无所知(到目前为止),所以请多多包涵!

如果这是C ++应用程序,我将安装调试版本,下次崩溃时,我将抓住用户. dmp日志文件,并通过Visual Studio使用它来查看崩溃发生的位置.在过去,我会结合使用应用程序MAP文件和Dr Watson日志(gulp).无论哪种方式,找出崩溃发生的地方都是很简单的.我什至可以安装一些MS WINDBG工具来在计算机上安装调试器.

所以,我将如何在.NET中做同样的事情(缺少安装Visual Studio并在上面安装源代码)这台机器).

First post in this forum, so please be gentle. :)

We have a product, written in C#, using .NET 2, running on a server. It is a normal process, not a service. Occasionally we are seeing a .NET 2.0.x ''Fatal Execution Engine Error'', and I wanted some tips on the best way to debug this sort of problem. I know next to nothing about .NET (yet), so please bear with me!

If this was a C++ app, I would install a debug version and the next time it crashed, I would grab the user.dmp log file and use this via Visual Studio to see where the crash occurred. In the old days I would of used a combination of the apps MAP file and a Dr Watson log (gulp). Either way, finding out where the crash occurred would be fairly straight-forward. I could even install some of the MS WINDBG tools to get a debugger on the machine.

So, how would I go about doing the same thing in .NET (short of installing Visual Studio and having the source code on the machine).

推荐答案

^ ]应该可以帮助您
This Bugslayer article[^] should get you going






这篇关于.NET应用程序调试技巧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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