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

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 
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: 89
Size:  33.1 KB

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

Name:  2.JPG
Views: 89
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: 90
Size:  48.6 KB

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

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

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

-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: 62
Size:  87.9 KB

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

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





My System SpecsSystem Spec
.

05 Nov 2013   #2
Britton30
Microsoft MVP

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

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

Thanks Gary.

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


05 Nov 2013   #4
nommy the first

Microsoft Windows 8.1 64-bit Professional
 
 

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

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

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.

-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
nommy the first

Microsoft Windows 8.1 64-bit Professional
 
 

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;
-untitled.png

However, when I run it from an elevated one, I get this;
-untitled1.png


Nommy


My System SpecsSystem Spec
05 Nov 2013   #7
Arc

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

For whatever, it works the same way for me

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

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
nommy the first

Microsoft Windows 8.1 64-bit Professional
 
 

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
YoYo155

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
Thread Forum
Q: Delete application Crash Dump files?
I have a few application crash dump files (.dmp) in ...\AppData\Local\CrashDumps. Can I delete them safely using Windows Explorer? I have already removed the reports from the Acton Center and Disk Cleanup did not touch them.
Performance & Maintenance
what program is used to open the crash dump files?
I think I have figured out how to post a BSOD Zip file now but, I was wondering what program is used to read one? I tried note book and all I saw was the word page over and over and then a few other odd looking things. Thanks! :)
BSOD Help and Support
Dump files not created for boot crash
Hi. Okay, my reasons for needing to get a crash dump may seem kind of funny... but, anyway here's what's going on. I'm trying to patch Windows 7 to work on a Pentium 1 MMX. Now that you're laughing, no my main computer is an 8 core FX-8150. :D I just want to see this happen, because it would be...
BSOD Help and Support
Black Screen Then Crash, Dump Files Created
Just the last 2 days I've had these crashes when playing BF3. I had been playing it with no problems until yesterday.
BSOD Help and Support
Crash Dump File Won't Open? [WINDBG.EXE]
In short, I use Windows 7 Ultimate 32-bit and everytime I try to open Dump Files from either my computer or other computers with Microsoft's WinDbg.exe, it mainly gives these two errors at the end and WONT let me use any commands or examine the files: "ERROR: Reload failure, partially...
BSOD Help and Support
Mozilla and crash dump files??
How do i view mozillas crash dump files???
Browsers & Mail

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 02:25.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App