如何在不使用 WinDbg 的情况下在 Windows 8.1 中获取故障转储 [英] How to get crash dump in Windows 8.1 without using WinDbg

查看:19
本文介绍了如何在不使用 WinDbg 的情况下在 Windows 8.1 中获取故障转储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用户正在运行我的一个应用程序,他看到应用程序崩溃.如何在不要求他使用 WinDbg 的情况下从他的计算机获取故障转储?

I have a user who is running one of my apps, and he is seeing the app crash. How can I get a crash dump from his computer without asking him to use WinDbg?

我已阅读其他问题,使用 Dr. Watson 在 Windows XP 中很容易做到这一点,但似乎该选项在 Windows 8.1 中不再可用.

I have read other questions, and this was easy to do in Windows XP using Dr. Watson, but it seems that option is not available in Windows 8.1 anymore.

其他答案指向 c:\Users\[user]\AppData\Local\Microsoft\Windows\WER\ReportArchive 目录,但我只在那里看到 WER 文件.

Other answer points to c:\Users\[user]\AppData\Local\Microsoft\Windows\WER\ReportArchive directory, but I only see WER files there.

知道如何获得崩溃转储吗?

Any idea how to get crash dumps?

谢谢.

推荐答案

我编写了一个程序来捕获 WER 故障转储.我能够使用 本文 在本地捕获转储文件.唯一微妙的要求是程序必须以管理员权限运行.如果您遵循此方法,请确保再次运行该程序以禁用捕获崩溃报告,因为更改这些键可能会影响其他应用程序的所有未来崩溃转储.

I wrote a program to trap WER crash dumps. I was able to use the keys mentioned in this article to trap the dump file locally. The only subtle requirement was that the program had to run with administrator rights. If you follow this methodology, make sure you run the program again to disable trapping crash reports because changing those keys could affect all future crash dumps for other applications.

这篇关于如何在不使用 WinDbg 的情况下在 Windows 8.1 中获取故障转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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