How to manually create a crash dump file

From: Advanced Windows Debugging

In the registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\i8042prt\Parameters, create a value named CrashOnCtrlScroll, and set it equal to REG_DWORD 0x1 (or any nonzero value). After the system has rebooted, you can generate a crash by holding down the rightmost CTRL key and pressing the SCROLL LOCK key twice. This causes the system to call KeBugCheck() with a bug check code of 0xE2 (MANUALLY_INITIATED_CRASH).

posted @ 2008-05-18 22:38  XiaoHui  阅读(746)  评论(0编辑  收藏  举报