views:

1768

answers:

6

After being troubled by an issue that I simply did not have the knowledge to debug, I've just decided that I have to learn how to use Windbg. My only problem: I have no clue where to start :-( I'm not really a WinApi-Guy, having use languages that abstract the Windows Api away from me usually.

So I just wonder: What is the best souce (Book, Website) to learn Windbg for someone who knows programming but not much about the inner depths of Windows? (And yes, I do read oldnewthing every day :))

A: 

Debugging .NEt Applications has a chapter on how to use WinDbg

Benoit
A: 

My first experience with a debugger (actually soft ICE) has been a ... well ... sort of crack. There are some guide on the net about how to use a debugger to search for events and bypass/change program behavious. Once you've mastered the basic debugger skills, you can take any simple application (or your own applications) and play with it.

(This is just one of the guides i was talking about: http://www.woodmann.com/krobar/other/patch36.txt )

Axeman
+12  A: 
Chris
This book is essential if you want to get the most out of windbg.
LanceSc
+4  A: 
  • Advanced Windows Debugging by Hewardt and Pravat (best for general Win32 stuff)
  • Debugging .Net 2.0 Applications by John Robbins (if you need SOS for .Net)
  • The NT debugging blog (quite low level but they've just posted a good set of links.
Ian G
+5  A: 

A great blog to check out is If broken it is, fix it you should. There's actually some posts on getting started in WinDbg.

Mladen Mihajlovic
+11  A: 

There's a few excellent blogs out there that help to gain windbg proficiency on an everyday basis:


I, personally, just started using windbg for all my debugging tasks and soon enough there were very questions I could not answer and very few problems I could not solve. Powerful and exciting tool.

Could you edit the addresses above to make them clickable links? Thanks.. :) Very helpful.. :) +1..
krebstar