Welcome to Omgili,
Omgili ( Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.
This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.
 |
|
 |
|
Adding WinDbg to the "Open With" menu for .DMP files?
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.
|
|
 |
|
 |
 |
|
 |
|
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.
|
|
 |
|
 |
 |
|
 |
|
Try adding (or modifying) the registry entry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.dmp\OpenWithList
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 MRUList value 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.
|
|
 |
|
 |
 |
|
 |
|
I have a simple batch file associated with .dmp extension.
It's defined roughly as following:
@echo off title windbg -z %1 start d:\programs\windbg\windbg.exe -W my_fav_workspace -z %1
works like a charm.
of course you don't get a fancy "Open With..." menu item in explorer, but double-clicking it is hardly a disadvantage.
|
|
 |
|
 |
|
|
|