Windows server 2003의 기본 디버거(debugger)를 Dr.watson으로 변경 하는 방법
Windows server 2003의 기본 debugger를 Dr.watson으로 변경 하는 방법
Window server 2003 서버에 Visual Studio가 설치 되어 있다면 서버에서 사용하는 기본 디버거(debugger)가 아래와 같이 변경 되었을 수 있습니다.
개발 서버에서는 Visual studio가 기본 Debugger 되어 있어도 괜찮겠지만 운영 서버에서는 application crash에 대한 분석을 위해서는 기본 디버거(Debugger)가 Dr.watson으로 되어 있는 것이 좋습니다.
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion \AeDebug
기본 디버거(Debugger)를 다시 Dr.Watso으로 변경 하기 위해서는 아래와 같이 하면 됩니다.
Method 1
1. Click Start, point to Programs, and then click Command Prompt.
2. Type the following command to start Dr. Watson and change Dr. Watson to the default debugger:
Drwtsn32 -i
Method 2
1. Run Registry Editor (regedt32.exe).
2. Go to the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion \AeDebug
NOTE: The above registry key is one path; it has been wrapped for readability.
3. To change the default debugger back to Dr. Watson, modify the debugger value to the following:
Value Name: Debugger Data Type : REG_SZ Data : Drwtsn32 -p %ld -e %ld
[참고 사이트]
Dr. Watson Fails to Appear When Applications Fail Because of Long File Names in Path
http://support.microsoft.com/?scid=kb;en-us;175644&x=7&y=13
Specifying the Debugger for Unhandled User Mode Exceptions
http://support.microsoft.com/?scid=kb;en-us;121434&x=12&y=12