Disabling Windows error reporting (Dr. Watson) for my process

爷,独闯天下 提交于 2019-12-06 20:29:11
问题 I have an application that is hosting some unstable third-party code which I can't control in an external process to protect my main application from nasty errors it exhibits. My parent process is monitoring the other process and doing "the right thing (tm)" when it fails. The problem that I have is that Dr. Watson is still detecting crashes in the isolated process and attaching to the processes on the way down to take a crash dump. This has the two problems of: 1. Dramatically slowing down

Best way to have crash dumps generated when processes crash?

三世轮回 提交于 2019-11-26 17:45:38
问题 In Windows environments ( XP and Win 7 ): What is the best way to automatically have a crash dump generated when processes crash on the system? Can an installer (MSI) package do this? 回答1: One of the best way to have an automatic dump for any/specific process on Windows is to configure a set of entries in the registry. I tried the below on Windows 7 64 bit. Open notepad.exe, paste the below entry and save it as "EnableDump.reg". You can give any name you wish. Windows Registry Editor Version