How to configure a Debugger using Image File Execution Option?

There are times when tools such as DebugDiag, ADPlus or UserDump fail to capture a dump when a process terminates unexpectedly.  When that happens, we can launch the process inside the debugger to ensure that we capture a dump.  Here’s how we do it: Install the Debugging Tools for Windows Copy and paste the information […]

Share online:

There are times when tools such as DebugDiag, ADPlus or UserDump fail to capture a dump when a process terminates unexpectedly.  When that happens, we can launch the process inside the debugger to ensure that we capture a dump.  Here’s how we do it:

  1. Install the Debugging Tools for Windows
  2. Copy and paste the information below into a new text file:

    Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\calc.exe] "Debugger"="C:\\Program Files\\Debugging Tools for Windows\\cdb.exe -g"

  3. Change the CALC.EXE value to the desired process
  4. Change the path to CDB.EXE as needed
  5. Import the Registry File – no reboot is required

Full Article

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.