Debugger

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug

Data type Range Default value
REG_SZ Name of debugger and switch settings. drwtsn32 -p %ld -e %ld -g

Description

Specifies the debugger that is activated when an application error occurs. If the value of the Auto entry is 1, this debugger is started automatically. If the value of Auto is 0, the user must start the debugger.

Dr. Watson (drwtsn32) is the default debugger, but another debugger (such as WinDbg or NTSD) can be installed as the automatic debugger. The values following the debugger name are specific to the debugger. The default switches for Dr. Watson are set as follows:

Value Meaning
-p Stores the Process ID for the running process at the location specified by %ld.
-e Stores the Event ID for the running process at the location specified by %Id.
-g Tells the debugger to go (start).
 

Note Image Note

For more information on Dr. Watson, see the Online Help for Dr. Watson.