windbg.info
Home Search
 You are here: arrow Home Documents WinDbg. From A to Z!

Search Our Site

WinDbg. From A to Z!

WinDbg. From A to Z!


Everything you need to know about WinDbg.
And nothing you don't.

Published: Dezember, 2007
Description: A quick start and introduction to WinDbg. 111 slides with examples.

Download Color PDF (1550 Kb)
Download Black & White PDF (580 Kb) (2 slides per page) - optimal for printing


Japanese Edition By Tsuyoshi Oguni, February 2009
JP description

Download Color PDF - JP (1230 Kb)
Download Black & White PDF - JP (980 Kb) (2 slides per page)

Between 1 December 2007 and 31 Januar 2009 "Windbg. From A to Z!" was published on software.rkuster.com where it was downloaded 15.748 times.





Foreword by Wanderley Caloni

All the power and flexibility of the Microsoft Debugging Tools package can be diminished by its complexity and learning curve. After all, it is very easy and comfortable to work with the Visual Studio debugger once you begin to use it. Those who advocate the use of a unified tool that does everything, like a cell phone, make the case even worse. However, when the competitive advantage of one tool over another is obvious, there is nothing worse than getting stuck in a situation which is suboptimal for you. As I was thinking about this difficulty I found a presentation written by Robert Kuster that explains all the important details of debugging with WinDbg for novice and experienced programmers. The presentation "WinDbg. From A to Z!" turns out to be just as useful as WinDbg itself because it explains everything from simple things that you should know right away such as setting up symbols and the theory of command types in WinDbg, to the advanced topics such as remote debugging.

The subject covers a set of 111 slides that take one or two hours of careful reading if you do not make tests during the trip. Among the things I have read and reread I found a list of important topics that you should try to keep in mind:
  • The libraries of WinDbg's debug engine (slides 6 and 9)
  • The debug symbols and how they are found by WinDbg (11, 12, 14)
  • Exception handling by the OS and how to debug exceptions (18, 19, 85)
  • How to configure your debugger to operate system-wide (20)
  • Types of commands in WinDbg (22)
  • Configuring symbols and sources in WinDbg (24, 25)
  • WinDbg window options (33)
  • DML: Debugger Markup Language (35)
  • Processes and threads on Windows (26, 27, 29)
  • Commands on threads and locks (31, 55)
  • Memory: Stack details (37, 39, 41)
  • Memory: General commands (43)
  • Memory: Heap commands and examples (45, 49, 51, 53)
  • Useful commands for strings and memory manipulation (66)
  • Evaluating expressions in WinDbg: MASM and C ++ (70, 71)
  • Breakpoints in WinDbg (basic) (81)
  • Breakpoints in WinDbg (advanced) (83, 84)
  • Remote Debugging (very useful!) (87)
  • Choosing the best tool for the problem (great!) (108)
In the end there are two important tips for those who wish to explore the debugging world in more detail: read WinDbg's documentation (which is also great, although much more extensive) and learn assembly (simply essential if you want to solve a variety of problems). If you never took the time for advanced debugging on Windows think about it again. It could take you 2 hours (divide this into 15 minute periods per day!) to read this great tutorial. As a result you might surprisingly end up with an exponentially reduced troubleshooting time for your debug situations.
 
Comments (5) Add Comment Expand all Comments RSS Feed
Re: WinDbg. From A to Z! Tom Adams 26 Jun 2011 - 06:10     
Re: WinDbg. From A to Z! Noteworthy 11 Apr 2011 - 07:38     
Great! Matteo Valdina 22 Aug 2009 - 14:07     
Its the best Shambhu 15 May 2009 - 19:25     
WinDbg A-Z is Wonderful! Alex Budovski 12 Feb 2009 - 22:49     
You must be logged in to post a comment. Please register if you do not have an account yet.
Discuss this item on the forum. (5 posts)
  up top of page up  
 

Copyright © 2024 WinDbg.info. All Rights Reserved.
Page generated in 0.0027 seconds.