![](https://img1.daumcdn.net/relay/cafe/original/?fname=http%3A%2F%2Fblog.empas.com%2Fcomdie0429%2F2312017_332x457.bmp)
시작-실행-DRWTSN32를 치시면 다음 화면을 만나실수 있습니다.
윈2000에서 어플리케이션 에러 디버거인 DR.WASTON에관한 설정에 관한 정보를 가지구 있다.(DRWTSN32.EXE).
AppendToLogFile
0:어플리케이션에러가 날때마다 갱신해서 로그파일로 저장한다.
1:어플리케이션에러를 그전 로그파일의 마지막 부분에 저장한다.
logfile에 지정한 경로에 DRWTSN32.LOG파일로 저장된다.
다음은 제 컴터의 DRWTSN32.LOG파일이다.
Microsoft (R) Windows 2000 (TM) Version 5.00 DrWtsn32
Copyright (C) 1985-1999 Microsoft Corp. All rights reserved.
Application exception occurred:
App: AgentSvr.exe (pid=744)
When: 2003-11-26 @ 12:36:58.343
Exception number: c0000005 (access violation)
*----> System Information <----*
Computer Name:
User Name:
Number of Processors: 1
Processor Type: x86 Family 15 Model 1 Stepping 2
Windows 2000 Version: 5.0
Current Build: 2195
Service Pack: 4
Current Type: Uniprocessor Free
Registered Organization:
Registered Owner:
*----> Task List <----*
0 Idle.exe
8 System.exe
136 smss.exe
164 csrss.exe
160 winlogon.exe
212 services.exe
224 lsass.exe
332 Ati2evxx.exe
432 svchost.exe
456 spoolsv.exe
496 DefWatch.exe
516 svchost.exe
540 mdm.exe
644 Rtvscan.exe
676 regsvc.exe
692 SCardSvr.exe
700 MSTask.exe
764 WinMgmt.exe
808 svchost.exe
1264 Ati2evxx.exe
1176 Explorer.exe
1280 vptray.exe
1300 jusched.exe
1308 ctfmon.exe
1360 acrotray.exe
1368 hpnsjtr.exe
1392 svchost.exe
1136 OUTLOOK.exe
284 iexplore.exe
744 AgentSvr.exe
1432 drwtsn32.exe
0 _Total.exe
(01000000 - 0103E000)
(77F80000 - 77FFB000)
(78000000 - 78045000)
(7C570000 - 7C623000)
(7C2D0000 - 7C332000)
(77D30000 - 77D9E000)
(77F40000 - 77F79000)
(77E10000 - 77E6F000)
(77A50000 - 77B3C000)
(779B0000 - 77A4B000)
(75E60000 - 75E7A000)
(60000000 - 60047000)
(775A0000 - 77626000)
(74C50000 - 74C5C000)
(782F0000 - 78538000)
(70A70000 - 70AD5000)
(71710000 - 71794000)
(74C30000 - 74C3E000)
(77570000 - 775A0000)
(77410000 - 77423000)
(75D40000 - 75D46000)
(77560000 - 77568000)
(77400000 - 77408000)
(66650000 - 666A4000)
(676C0000 - 6774A000)
(6AB30000 - 6AC01000)
State Dump for Thread Id 0x3f8
eax=00000001 ebx=010333b8 ecx=00010101 edx=00000000 esi=0006fed4 edi=77e272d8
eip=77e580ff esp=0006fe8c ebp=0006fea4 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000246
function: GetMenuItemRect
77e580e6 b899110000 mov eax,0x1199
77e580eb 8d542404 lea edx,[esp+0x4] ss:00c39d73=????????
77e580ef cd2e int 2e
77e580f1 c21000 ret 0x10
77e580f4 b89a110000 mov eax,0x119a
77e580f9 8d542404 lea edx,[esp+0x4] ss:00c39d73=????????
77e580fd cd2e int 2e
77e580ff c21000 ret 0x10
.
..
.
이런식으로 저장되어져있다..
CreateCrashDump
crash dump파일은 프로그램이 비정상적으로 종료되어졌을때 만들어지는 바이너리형태로 저장되어지는 파일이다.경로는 맨첫그림에서 설정을 변경할수있다.컴터에는 user.dmp파일로 저장되어진다.
0(만들지않는다)1(crash dump파일을 만든다)
DumpAllThreads
0(로그파일은 어플리케이션 에러를 유발시킨 thread만을 포함한다)
1(로그파일은 어플리케이션 에러가 발생한당시에 실행되고 있던 프로세서의 모든 treads를 포함한다)
DumpSymbols
윈2000에서 Dr. watson이 각 어플리케이션 모듈에 대한 symbol table에대한 포함할지 안할지를 결정한다.Symbol Table은 각 symbol의 이름과 주소를 기억하기 때문에 용량이 매우크르모 대부분 생략하는 0의 값이 기본값이다.
0(생략한다)1(포함시킨다.)
Instruction(이부분은 번역하기가 애매해서 본문을 올리것습니다)
Data type |
Range |
Default value |
REG_DWORD |
0x0–0x1F4 (0–500) |
0xA (10) |
Determines how many instructions preceding and following the faulty instruction are included in the instruction disassembly portion of Drwtsn32.log, the log file for Dr. Watson for Windows 2000.
The instruction disassembly includes: