请输入您要查询的百科知识:

 

词条 Dr. Watson (debugger)
释义

  1. See also

  2. References

  3. External links

{{confused|Sherlock (software)}}Dr. Watson is an application debugger included with the Microsoft Windows operating system. It may be named drwatson.exe, drwtsn32.exe or dwwin.exe, depending on the version of Windows. It is named after Doctor Watson of Sherlock Holmes fame, the idea being that it would collect error information (symptoms) following a program crash. The use of the word "Watson" has since been expanded to include general end-user feedback services.[1] The original name of this diagnostic tool was "Sherlock".[2]

The information obtained and logged by Dr. Watson is the information needed by technical support personnel to diagnose a program error for a computer running Windows. A text file (usually drwtsn32.log) is created whenever an error is detected, and can be delivered to support personnel by the method they prefer. A crash dump file can also be created, which is a binary file that a programmer can load into a debugger. Dr. Watson can be made to generate more exacting information for debugging purposes if the appropriate symbol files are installed and the symbol search path (environment variable) is set.

When a program error occurs in Windows, the system searches for a program error handler. A program error handler deals with errors as they arise during the running of a program. If the system does not find a program error handler, the system verifies that the program is not currently being debugged and considers the error to be unhandled. The system then processes unhandled errors by looking in the registry for a program error debugger for which Dr. Watson is the default. A third-party debugger can also be used in place of Dr. Watson. The Watcom C Compiler includes a similar crash-analysis tool named "Dr. Watcom".[3]

Beginning with Windows XP, Dr. Watson (drwtsn32.exe)  was extended with (dwwin.exe) "Problem Reports and Solutions".[4] On some versions of Windows the older version (drwatson.exe) may be available by typing "drwatson.exe" into the command prompt box or in the 'Search programs and files' box in the Start menu in Windows 7.{{Citation needed|date=September 2010}}

See also

  • Windows Error Reporting

References

1. ^{{Cite web |last=Chen |first=Raymond |date=10 August 2005 |url=http://blogs.msdn.com/oldnewthing/archive/2005/08/10/449866.aspx|title=Why is Windows Error Reporting Nicknamed "Dr. Watson"? |accessdate=21 May 2006}}
2. ^{{Cite web |last=Chen |first=Raymond |date=14 November 2005 |url=http://blogs.msdn.com/oldnewthing/archive/2005/11/14/492483.aspx |title=What was Dr. Watson's Original Name? |accessdate=21 May 2006}}
3. ^{{Cite news|title=Watcom C/C++ Gets a New Face|date=October 1994|work=BYTE|url=http://byte.com/art/9410/sec12/art5.htm|last=Grehan|first=Rick}}
4. ^{{Cite web |title=Error Reporting Policies and Advanced Features |publisher=Microsoft |url=http://support.microsoft.com/servicedesks/webcasts/en/wc021303/programmingforwer.doc |accessdate=28 September 2011 |deadurl=yes |archiveurl=https://web.archive.org/web/20110629220120/http://support.microsoft.com/servicedesks/webcasts/en/wc021303/programmingforwer.doc |archivedate=29 June 2011 |df= }}

External links

  • Kirk Glerum and Mike Hollinshead - Watson (what happens when your system crashes?)
  • How to disable Dr. Watson for Windows
{{DEFAULTSORT:Dr. Watson (Debugger)}}{{Windows-stub}}

2 : Windows components|Windows administration

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 14:56:54