LocalDumps 注册表项停止工作(Windows 错误报告) [英] LocalDumps registry key stopped working (Windows Error Reporting)
问题描述
我设置了注册表项 HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps 如 MSDN 上所述.
I set up the registry key, HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps as described on MSDN.
我有一个测试程序 - 一个控制台程序,用 Visual C++ 编译,它试图在打印消息和退出之前取消引用 NULL 指针.测试程序曾经退出并转储一个核心文件,但现在它只是退出.我没有核心.
I have a test program - a console program, compiled with Visual C++, that tries to dereference a NULL pointer before printing a message and exiting. The test program used to exit and dump a core file, but now it just exits. I get no core.
我在物理硬件上运行 Windows Server 2008 R2 Enterprise SP1.
I'm running Windows Server 2008 R2 Enterprise, SP1 on physical hardware.
我不知道发生了什么变化.现在有哪些变化可以阻止 WER 转储内核?
I don't know what changed. What could have changed that prevents WER from dumping cores now?
推荐答案
确保您已在 LocalDumps 节点上添加了一个键,例如LocalDumps\MyApplication.exe".然后,更新该链接中说明的值.发生崩溃时,WER 会查找具有匹配应用程序名称的键来决定如何处理转储.
Make sure you've added a key on the LocalDumps node like "LocalDumps\MyApplication.exe". Then, update the values that are explained in that link. At the time of a crash, WER looks for a key with the matching application name to decide how to handle the dump.
这篇关于LocalDumps 注册表项停止工作(Windows 错误报告)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!