LKBEN10734: Howto change the default debugger under windows


Symptom

You need to change the default debugger or disable it

Cause

none

Solution

Suppose you have Microsoft Visual Studio installed and afterwards you installed .Net. or something that changed your debugger. In this case you can change the default debugger back to

Microsoft Visual Studio using following steps

Edit Following Registry key :-

 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug

"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\msdev.exe" -p %ld -e %ld"

You might also find:

"c:\WINDOWS\system32\vsjitdebugger.exe" -p %ld -e %ld


To use the Windows debugger, type windbg -p %ld -e %ld.
To use Visual C++ 4.2 or earlier, type msvc -p %ld -e %ld.
To use Visual C++ 5.0 or later, type msdev.exe -p %ld -e %ld.
To use Dr. Watson, type drwtsn32.exe -p %ld -e %ld.

You can  make Dr. Watson the default debugger by running this command:drwtsn32.exe -i.

PS: The new debugger is used the next time you log on.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.