INFO: Choosing the Debugger That the System Will SpawnID: Q103861
|
In the Win32 SDK, versions 3.1, 3.5, 3.51, and 4.0, the system can spawn a debugger whenever an application faults. The capability is controlled by the following Registry key on Windows NT:
HKEY_LOCAL_MACHINE\
SOFTWARE\
Microsoft\
Windows NT\
CurrentVersion\
AeDebug
This key contains the following entries:
Auto
Debugger
These entries are also available on Windows 95. However, on Windows 95,
they are contained in the Win.ini file instead of the registry. The
section [aedebug] has entries that correspond to the registry.
DRWTSN32 -p %ld -e %ld -g
and the Auto value is set to 1. If the Win32 SDK is installed, then the
Debugger value is changed to
<MSTOOLS>\BIN\WINDBG -p %ld -e %ld
and the Auto value is set to 0.
C:\Program Files\DevStudio\SharedIDE\BIN\msdev.exe -p %ld -e %ld
The DRWTSN32 debugger is a post-mortem debugger similar in functionality to the Windows 3.1 Dr. Watson program. DRWTSN32 generates a log file containing fault information about the offending application. The following data is generated in the Drwtsn32.log file:
DRWTSN32 -i
from a command prompt (or from the Start menu, click Run).
Additional query words:
Keywords : kbtool TlsMisc
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: July 8, 1999