Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Crash Dump files: Associate with WINDBG

05 Nov 2013   #1
Arc

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64 Bit SP 1
 
 
Crash Dump files: Associate with WINDBG

information   Information
This instructions are for associating crash dump files with windbg, debugging tool for windows; so that double clicking on the crash dump files will directly open it with windbg only.
Note   Note
It is suggested that you install windbg in the default location. Installing it in any other location is not really needed.


When you have WINDBG installed, if you associate the crash dumps with that program, a simple double click on a crash dump will open it with windbg directly. Here's how:
1. Open a command prompt.

Name:  1.JPG
Views: 60
Size:  33.1 KB

2. Get back to root. Simple DOS command.... cd/

Name:  2.JPG
Views: 60
Size:  33.0 KB

Note that after hitting enter, you are on C prompt.

3. Now go the the installation directory .... CD (change directory).
The usual installation location is "C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe" ... so we have changed the directory to C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64

Name:  3.JPG
Views: 61
Size:  48.6 KB

4. Now, the required command is .... windbg.exe -IA

Name:  4.jpg
Views: 60
Size:  47.0 KB

Put the command and hit enter .... windbg will open automatically, saying this ...

Crash Dump files: Associate with WINDBG-2013-11-05_114108.jpg

Done. Now every double click on a single crash dump will open it in windbg directly.
If you are not certain about your installation directory that is needed as per step 3 ..... determine it ...
1. Go to Start > All Programs> Windows Kits> Debugging tool for windows> Windbg, and right click on it. Choose "Properties from the context menu.

Name:  a.jpg
Views: 33
Size:  87.9 KB

2. Look at the "target" of Windbg properties dialog. It is where the program is installed.

Name:  b.jpg
Views: 33
Size:  45.1 KB




My System SpecsSystem Spec
.

05 Nov 2013   #2

Microsoft Community Contributor Award Recipient

Windows 7 Ultimate X64 SP1
 
 

Good info Archie, I think it would be good if posted as a tutorial.
My System SpecsSystem Spec
05 Nov 2013   #3
Arc

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64 Bit SP 1
 
 

Thanks Gary.

It is too short to be a tutorial ....
My System SpecsSystem Spec
.


05 Nov 2013   #4

Windows 7 Home Premium 64bit SP1
 
 

Nice tut my friend!

Another way to achieve the same is by opening an Elevated Command Prompt, pasting this ("C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe" -IA) and hitting enter. Maybe include this as a second option?


Nommy
My System SpecsSystem Spec
05 Nov 2013   #5
Arc

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64 Bit SP 1
 
 

Quote   Quote: Originally Posted by nommy the first View Post
Nice tut my friend!

Another way to achieve the same is by opening an Elevated Command Prompt, pasting this ("C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe" -IA) and hitting enter. Maybe include this as a second option?


Nommy
Well, that is the reason behind this write-up. Have you ever tried that yourself? Here is what happens with that command.

Crash Dump files: Associate with WINDBG-2013-11-05_230607.jpg

If you look at what I have written in the original post, you will see that it is the same thing, but divided into two commands, as two other steps. Otherwise it will not go anywhere.

We should not post such things that we are not totally aware of. First thing is to learn. What comes next is to practice in live threads. Then, after acquiring knowledge, experience and expertise, we should share our knowledge.

And, a simple command prompt works as good as an elevated command prompt in this case. Command prompt does not need to elevate everywhere.


My System SpecsSystem Spec
05 Nov 2013   #6

Windows 7 Home Premium 64bit SP1
 
 

Hmm weird.. I have tried it, and it worked perfectly fine for me.

I see your problem though, you forgot to add the " before C:\

When I run my command from a normal command prompt, I get this;
Crash Dump files: Associate with WINDBG-untitled.png

However, when I run it from an elevated one, I get this;
Crash Dump files: Associate with WINDBG-untitled1.png


Nommy


My System SpecsSystem Spec
05 Nov 2013   #7
Arc

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64 Bit SP 1
 
 

For whatever, it works the same way for me

May be my bad luck.
My System SpecsSystem Spec
06 Nov 2013   #8

Windows 7 Home Premium x64
 
 

Handy, Arc .

What Stefan suggests also works for me as well but not how he wrote it.
The mistake is that you are looking for the x64 debugger in the x86 program files.

Quote   Quote: Originally Posted by nommy the first View Post
"C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe" -IA and hitting enter.
My System SpecsSystem Spec
06 Nov 2013   #9

Windows 7 Home Premium 64bit SP1
 
 

Quote   Quote: Originally Posted by YoYo155 View Post
Handy, Arc .

What Stefan suggests also works for me as well but not how he wrote it.
The mistake is that you are looking for the x64 debugger in the x86 program files.

Quote   Quote: Originally Posted by nommy the first View Post
"C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x64\windbg.exe" -IA and hitting enter.
Oops, seems I messed up during the installation
Ah well, it works for me so no reason to change anything


Nommy
My System SpecsSystem Spec
06 Nov 2013   #10

Windows 7 Home Premium x64
 
 

Haha yeah, if it ain't broke...

Anyway the default install locations are:

Code:
"C:\Program Files\Windows Kits\8.0\Debuggers\x64\windbg.exe"
"C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x86\windbg.exe"
My System SpecsSystem Spec
Reply

 Crash Dump files: Associate with WINDBG





Thread Tools



Similar help and support threads for2: Crash Dump files: Associate with WINDBG
Thread Forum
what program is used to open the crash dump files? BSOD Help and Support
Solved Dump files not created for boot crash BSOD Help and Support
Crash Dump File Won't Open? [WINDBG.EXE] BSOD Help and Support
Mozilla and crash dump files?? Browsers & Mail
Windbg: How to debug 32 bit dump file on 64bit Win7 BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:56 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33