Article ID: 923827 - Last Review: November 9, 2006 - Revision: 1.2 Unhandled exceptions are caught by the Visual Studio JIT debugger instead of Dr. Watson or a third-party debugger after you install certain versions of SQL Server 2005On This PageSYMPTOMSConsider the following scenario:
CAUSEThis issue occurs because the SQL Server 2005 installation process calls the Visual Studio installation process. The Visual Studio installation process changes the default application debugger to the Visual Studio JIT debugger. This change occurs regardless of which debugger you previously used. You do not receive any notification that this change has occurred. RESOLUTIONTo resolve this issue, use either of the following methods. Use the method that is more appropriate for your situation. Method 1: Re-enable the Dr. Watson program to catch unhandled exceptionsYou can re-enable the Dr. Watson program to catch unhandled exceptions. After you do this, the Visual Studio JIT debugger will no longer catch unhandled exceptions. To do this, follow these steps:
Method 2: Re-enable a third-party debugger to catch unhandled exceptionsImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows If you were previously using a third-party debugger to catch unhandled exceptions, you can re-enable it. After you do this, the Visual Studio JIT debugger will no longer catch unhandled exceptions. To do this, follow these steps:
MORE INFORMATIONFor more information about the Visual Studio dialog box that appears when an unhandled exception occurs, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/5hs4b7a6.aspx
(http://msdn2.microsoft.com/en-us/library/5hs4b7a6.aspx)
For more information about how to enable and disable Dr. Watson for Windows, click the following article number to view the article in the Microsoft Knowledge Base:188296
(http://support.microsoft.com/kb/188296/
)
How to disable Dr. Watson for Windows For more information about how to enable JIT-attach debugging in the Microsoft .NET Framework, visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/2ac5yxx6.aspx
(http://msdn2.microsoft.com/en-us/library/2ac5yxx6.aspx)
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.
| Article Translations
|

Back to the top
