Currently, when I right-click on .DMP (or .MDMP) files, the ‘Open With’ popup has Visual Studio 2005 and 2008 on it. How can I add WinDbg to this list, without removing either of the Visual Studio options?
I’ve used the ‘Choose a program’ option, and this adds WinDbg to the list. Unfortunately, WinDbg needs some command-line options to open .DMP files, and I can’t find this entry in the registry, so I’ve got nothing to edit.
Try adding (or modifying) the registry entry:
It would need to have the ‘windbg.exe. program specified in a value with a single letter name, and with that letter listed in an
MRUListvalue also under that key (look at other similar keys in regedit to get an idea).I haven’t tried adding a command line option to the program (so I’m not sure how well that’ll work, or if it can use some sort of replaceable parameter). If you can’t get it to accept a command ine option that you need, writing a simple wrapper program that calls
CreateProcess()(or similar) should do the trick.