Drtsn32.exe 每次重新启动时仅捕获一次异常
我正在尝试将 Drwtsn32.exe 设置为 Windows XP 嵌入式系统上的崩溃处理程序。我已从提示符中运行 drwtsn32.exe -i 将其安装为默认处理程序。然后,我添加了几个不同的片段,这些片段会导致我们的应用程序出现异常作为测试:
int y = 0;
int j = 0;
j /= y;
int* p = 0;
(*p) = 0;
当我第一次运行我们的应用程序时,我正确地收到一个 Drwtsn32.exe 弹出窗口,应用程序关闭,写入 drwtsn32.log 并显示我的碰撞。当我再次运行同一应用程序时,没有弹出窗口,也没有写入日志。重复此操作,直到我重新启动,当弹出窗口和日志都生成一次时,问题仍然存在。
在不同的系统上,我看到不同的功能 - drwtsn32.exe 不会生成错误(尽管我确实看到 MS 发送报告弹出窗口)并且每次都会生成日志,无需重新启动。
有谁知道我是否缺少配置选项,或者我们的 Windows XP 嵌入式映像中是否缺少组件?
谢谢
I'm trying to setup Drwtsn32.exe as the crash handler on a windows xp embedded system. I have run drwtsn32.exe -i from the prompt to install it as the default handler. Then I added a couple different fragments that would cause exceptions into our application as a test:
int y = 0;
int j = 0;
j /= y;
int* p = 0;
(*p) = 0;
When I run our application for the first time, I get a Drwtsn32.exe popup correctly, the application closes, and drwtsn32.log is written and shows my crash. When I run the same application again, I get no popup, and no log is written. This repeats until I reboot, when the popup and log are both generated a single time, then the problem persists.
On a different system, I see different functionality - drwtsn32.exe does not generate an error (although I do see the MS Send Report popup) and the log is generated every single time, without requiring a reboot.
Does anyone know if I am missing a configuration option, or if a component is missing in our Windows XP Embedded Image?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论