Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting to learn Windbg [closed]

People also ask

How do you start a WinDbg?

Launch Notepad and attach WinDbg On the File menu, choose Open Executable. In the Open Executable dialog box, navigate to the folder that contains notepad.exe (typically, C:\Windows\System32). For File name, enter notepad.exe. Select Open.

How do you close WinDbg?

You can exit WinDbg by choosing Exit from the File menu or by pressing ALT+F4.

How do you open a DMP in WinDbg?

Right-click WinDbg and select Run as administrator. Click the File menu. Click Start debugging. Click Open Dump file.


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

  • Dr. Debugalov
  • Nynaeve
  • Advanced Windows Debugging
  • Debugging Toolbox
  • Debugging Tricks
  • Oleg Starodumov
  • List of posts from/to Ivan Brugiolo
  • Windbg by Volker von Einem


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.


For a book, try

Advanced Windows Debugging (Addison-Wesley Microsoft Technology Series)

Advanced  Windows Debugging
(source: knowfree.net)

Also, for a great reference sheet, see

Common WinDbg Commands (Thematically Grouped) by Robert Kuster.


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.


  • 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.

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 )