When a program error occurs, Dr. Watson generates a log file (Drwtsn32.log). The log file will always start with the following line:
Application exception occurred:
The next part of the log file always contains program error information. The error number listed corresponds to the error generated by the system.

The next part of the log file contains system information about the user and the computer on which the program error occurred.

The next part of the log file contains the list of tasks that were running on the system at the time that the program error occurred.

The next part of the log file contains the list of modules that the program loaded.

The next part of the log file contains the state dump for the thread ID that is listed. The state dump consists of a register dump, disassembly of the code surrounding the current program counter, a stack back trace, and a raw stack dump. This first part of the state dump lists the thread ID.
State Dump for Thread Id 0xbf
The next part of the state dump contains the register dump.
![]()
The next part of the state dump contains the instruction disassembly.

The next part of the state dump contains the stack back trace.

The final part of the state dump contains the raw stack dump.

Following the state dump, the final part of the log file contains the symbol table.
