No Default Debugger Causes Application to Close Without Warning

Last reviewed: March 2, 1998
Article ID: Q172779
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.51 and 4.0
  • Microsoft Windows NT Server versions 3.51 and 4.0

SYMPTOMS

Applications that are running on Windows NT Server or Windows NT Workstation, either 16 bit or 32 bit, mysteriously close with no warning.

CAUSE

There are several causes for this type of behavior.

The first cause of this symptom could be that the application crashed. When an application "crashes" in Windows NT, NT will attempt to load a specified debugger to log information about the crash. By default, Windows NT launches Dr. Watson to capture such crashes.

If the default debugger is removed or no debugger is specified, the system will attempt to launch the debugger, but since the debugger is no longer installed or specified, the debug launch will just quit, and the crashing application will die/"disappear" with no warning notice.

WORKAROUND

To ensure that you are using the correct debugger, check the following registry key:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Start Registry Editor and locate the following Registry subkey in the HKEY_LOCAL_MACHINE subtree:

          \Software\Microsoft\Windows NT\CurrentVersion\AEDEBUG
    

  2. For more information on this setting, see the following article in the Microsoft Knowledge Base:

          ARTICLE-ID: Q121434
    
          TITLE     : Specifying the Debugger for Unhandled User Mode
                      Exceptions
    
hooks


Additional query words: debugref
Keywords : nt16ap nt32ap kbhelpfile
Version : WinNT:3.51,4.0
Platform : winnt
Hardware : ALPHA PPC x86
Issue type : kbprb
Solution Type : kbwontfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.