Share via


Debugger

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

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 activates when an application error occurs. If the value of the Auto entry is 1, then this debugger starts automatically. If the value of Auto is 0, then the user must start the debugger.

Dr. Watson for Windows (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).

 

Change Method

You can change the value of this entry only by editing the registry. However, you can restore default settings by typing drwtsn32 -i at the command prompt.

Note

  • For more information on Dr. Watson for Windows, see Windows Server 2003 Help or Windows XP Professional Help.