Automatically launching CDB to take a dump of a native/managed crash

Found a nice article which describes how to take native/managed crash dumps automatically using CDB as soon as a crash takes place. We know that for CLR 2.0 we’ve got to configure crash handler settings at two places in the registry for a native and managed application.

For native

  1. HKLMSoftwareMicrosoftWindows NTCurrent VersionAeDebugDebugger
  2. HKLMSoftwareMicrosoftWindows NTCurrent VersionAeDebugAuto

For managed

  1. HKLMSoftwareMicrosoft.NETFrameworkDbgManagedDebugger
  2. HKLMSoftwareMicrosoft.NETFrameworkDbgJITDebugLaunchSetting

This article from MSDN explains in detail on how to configure registry entries to take automatic crash dumps using CDB…

http://blogs.msdn.com/b/clrteam/archive/2009/10/15/automatically-capturing-a-dump-when-a-process-crashes.aspx

Appreciate your comments...