Article ID: 175644 - Last Review: October 31, 2006 - Revision: 1.1 Dr. Watson Fails to Appear When Applications Fail Because of Long File Names in PathThis article was previously published under Q175644
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it
if a problem occurs. For information on how to do this, view the "Restoring
the Registry" online Help topic in Regedit.exe or the "Restoring a Registry
Key" online Help topic in Regedt32.exe.
On This PageSYMPTOMS
Applications that are running on a computer running Windows NT Server or
Windows NT Workstation may fail, but there is no error message or any other
indication of failure, and no log is ever created.
CAUSE
During the installation of certain applications such as Visual C++ 5.0,
the setup program changes the default debugger to the application
itself. If that application is installed in a location that contains a
long file name, or spaces in the path, the previously described symptom
occurs.
RESOLUTION
Use one of the following methods to resolve this problem. The first two
methods change the default debugger back to Dr. Watson.
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. Method 1
Method 2
Method 3The following method will allow Visual C++ 5.0 to run as the default debugger:
STATUS
Microsoft has confirmed this to be a problem in Windows NT version 4.0. We
are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
When an application fails on a computer running Windows NT, that
application tries to load a specified debugger, to log information about
the failure. Windows NT attaches the specified debugger to the application,
and generates a log will that contains information about the cause of the
application failure. By default, Windows NT launches Dr. Watson. However,
certain applications may change this default and include the path to the
new debugger.
If the path includes a long file name such as: C:\Program Files\... Windows NT will not read the path correctly, and the debugger for an application that is failing will not load unless the full path is specified in the user's environment. | Article Translations
|
Back to the top
