查找 C# 应用程序的故障转储文件
我正在编写的应用程序总是在客户端计算机上崩溃,但我没有得到异常描述或堆栈跟踪。
我得到的唯一信息是 Windows 想要发送给 Microsoft 的崩溃报告。
我想获取该转储文件并亲自调查它,但我找不到它。
当我“查看错误报告的内容”时,我可以看到不同的内存转储,但无法复制或保存它。
An app I'm writing always crashes on a clients computer, but I don't get an exception description, or a stack trace.
The only thing I get is a crash report that windows wants to send to Microsoft.
I would like to get that dump file and investigate it myself, but I cannot find it.
When I "View the contents of the error report" I can see the different memory dumps, but I cannot copy it or save it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用Windows 调试工具来查看故障转储。 为了充分利用它,您需要该应用程序符号的精确副本(即相同版本)。
请查看 Tess 的博客,了解有关如何使用 Windows 调试工具的教程。 每当我需要分析故障转储时,我都会经常参考她的博客。
You can use the Windows debugging tools to view the crash dump. To get the most use out of it, you'll need an exact copy of the symbols for that application (i.e. same version).
Have a look at Tess's blog for tutorials on how to use the Windows debugging tools. I refer to her blog constantly whenever I'm in need of analysing crash dumps.
苔丝的博客是一个很好的资源。 最终我设法弄清楚如何进行远程调试,这意味着我不必查看故障转储。
对于一般社区,以下是我发现有用的一些链接:
Tess' blog was a great resource. Eventually I managed to figure out how to do remote debugging which means I didn't have to look at the crash dump.
For the general community, here are some links I found useful: