To save disk space, Dr. Watson generates a complete report for only the first three errors. The next 17 errors generate a report summary. After 20 errors, Dr. Watson stops writing to the log file. If you close Dr. Watson and rerun it, writing to the log file resumes. You can determine the number of error reports generated in the current session by double-clicking the Dr. Watson icon.
When the log file reaches 100K, Dr. Watson displays a warning message. After you have analyzed the error reports in the log file, you should delete the log file.
The following example shows a typical Dr. Watson log file.
Start Dr. Watson 0.80 - Thu Sep 26 10:51:28 1991
************************************************************************
Dr. Watson 0.80 Failure Report - Thu Sep 26 10:51:36 1991
BICHO had a 'Exceed Segment Bounds (Read)' fault at BICHO _DoCommand+006b
$tag$BICHO$Exceed Segment Bounds (Read)$BICHO _DoCommand+006b
$push word ptr [fffe]$Thu Sep 26 10:51:36 1991
CPU Registers (regs)
ax=1e54 bx=0014 cx=0d7f dx=0111 si=1e54 di=0111
ip=02fd sp=230c bp=237a O- D- I+ S- Z- A+ P+ C-
cs = 0e57 8059fbc0:083f Code Ex/R
ss = 0d7f 8059d5e0:25df Data R/W
ds = 0d7f 8059d5e0:25df Data R/W
es = 0d7f 8059d5e0:25df Data R/W
CPU 32 bit Registers (32bit)
eax = 00001e54 ebx = 00000014 ecx = ffff0d7f edx = 00000111
esi = 00001e54 edi = 00000111 ebp = 0000237a esp = 800422fc
fs = 0000 0:0000 Null Ptr
gs = 0000 0:0000 Null Ptr
eflag = 00000002
System Info (info)
Windows version 3.10
Debug build
Windows Build 3.1.048
Username Unknown User
Organization Unknown Organization
System Free Space 7131008
Stack base 1122, top 9164, lowest 7504, size 8042
System resources: USER: 87% free, seg 0777 GDI: 85% free, seg 05d7
LargestFree 6594560, MaxPagesAvail 1610, MaxPagesLockable 267
TotalLinear 1948, TotalUnlockedPages 274, FreePages 52
TotalPages 614, FreeLinearSpace 1611, SwapFilePages 7158
Page Size 4096
4 tasks executing.
WinFlags -
Math coprocessor
80386 or 80386 SX
Enhanced mode
Protect mode
Stack Dump (stack)
Stack Frame 0 is BICHO _DoCommand+006b ss:bp 0d7f:237a
0e57:02f0 e9 02b9 jmp near 05ac
0e57:02f3 6a 00 push 00
0e57:02f5 9a 8db0 0477 callf 0477:8db0
0e57:02fa e9 02af jmp near 05ac
(BICHO:_DoCommand+006b)
0e57:02fd ff 36 fffe push word ptr [fffe]
0e57:0301 68 0110 push 0110
0e57:0304 e8 fe5d call near 0164
0e57:0307 83 c4 04 add sp, 04
Stack Frame 1 is BICHO MAINWNDPROC+0027 ss:bp 0d7f:2388
0e57:0670 eb 16 jmp short 0688
0e57:0672 ff 76 0a push word ptr [bp+0a]
0e57:0675 56 push si
0e57:0676 e8 fc19 call near 0292
(BICHO:MAINWNDPROC+0027)
0e57:0679 83 c4 04 add sp, 04
0e57:067c 99 cwd
0e57:067d eb 1f jmp short 069e
0e57:067f 6a 00 push 00
Stack Frame 2 is USER IDISPATCHMESSAGE+007e ss:bp 0d7f:239e
Stack Frame 3 is BICHO WINMAIN+0050 ss:bp 0d7f:23bc
Stack Frame 4 is BICHO 1:00a3 ss:bp 0d7f:23ca
System Tasks (tasks)
Task WINEXIT, Handle 0daf, Flags 0001, Info 9248 08-09-90 16:52
FileName C:\MS\WIN\DON\WINEXIT.EXE
Task DRWATSON, Handle 0ea7, Flags 0001, Info 26256 09-23-91 12:00
FileName C:\WIN31\DRWATSON.EXE
Task PROGMAN, Handle 060f, Flags 0001, Info 110224 09-23-91 12:02
FileName C:\WIN31\PROGMAN.EXE
Task BICHO, Handle 0da7, Flags 0001, Info 16537 09-11-91 8:45
FileName D:\BICHO.EXE
1> I ran a test app that accessed a value
2> beyond the limits of the segment bounds.
Stop Dr. Watson 0.80 - Thu Sep 26 10:52:10 1991