On Windows XP, select 'Choose a program...' and navigate to the .exe
. Once you've done that, it'll appear in the list in future.
The same may be true for Vista (I don't have it in front of me).
On my system, WinDbg.exe
is located in C:\Program Files\Debugging Tools for Windows
EDIT From this page on MSDN:
-IA[S]
Associates WinDbg with the file extensions .dmp, .mdmp, and .wew in the registry. After this action is attempted, a success or failure message is displayed. If S is included, this procedure is done silently if it is successful; only failure messages are displayed. After this association is made, double-clicking a file with one of these extensions will start WinDbg.
The -IA parameter must not be used with any other parameters. This command will not actually start WinDbg, although a WinDbg window may appear for a moment.
So run WinDbg -IA
from the command line to associate .dmp
files with WinDbg.
EDIT 2
This site shows you a nice .reg file to add a new "Debug this dump" entry to your context menu. This way you will definitely still have the original 'Open with Visual Studio' option(s) as well.