Monday 16 November 2009

Default Debugger

By default, Microsoft Windows uses Dr. Watson debugger as the default debugger. This can be altered in the Windows registry manually by a user or by the installation of software such as Visual Studio or Delphi.

I think that having Visual Studio popped up each time an application crashes can be very annoying especially if you are performing some test but you don't need to debug that application.

The solution is to ensure that Dr. Watson is the default debugger of the Windows operating system.

To do this find the following registry key:

"HKEY_LOCAL_MACHINE\Software\Miscrosoft\WindowsNT\CurrentVersion\AeDebug\Debugger"

and set it to the following string "drwtsn32.exe -p %ld -e %ld"