Lue englanniksi Muokkaa

Jaa


WinDbg Basics

WinDbg logo with a magnifying glass inspecting bits.

Title Description
WinDbg - Release notes What's new with WinDbg

The debugger data model

Title Description
dx command Interactive command to display a debugger object model expression
Using LINQ With the debugger objects SQL like query language
Native Debugger Objects in NatVis Using the objects with NatVis
WinDbg - Data model How to use the built in data model support in WinDbg

Extending the data model

Title Description
JavaScript Debugger Scripting How to use JavaScript to create scripts that understand debugger objects
WinDbg - Scripting Using the WinDbg built in scripting
https://github.com/Microsoft/WinDbg-Samples The debugger team GitHub site where they share the latest JavaScript (and C++) sample code.
Native Debugger Objects in JavaScript Extensions Describes how to work with common objects and provides reference information on their attributes and behaviors.

TTD Basics

Title Description
Time Travel Debugging - Overview TTD Overview
Time Travel Debugging - Sample App Walkthrough To give time travel a try checkout this tutorial

TTD queries

Title Description
Introduction to Time Travel Debugging objects. You can use the data model to query time travel traces.
https://github.com/Microsoft/WinDbg-Samples/blob/master/TTDQueries/tutorial-instructions.md A tutorial on how to debug C++ code using TTD queries to find the problematic code
https://github.com/Microsoft/WinDbg-Samples/tree/master/TTDQueries/app-sample All of the code used in the lab is available here.

Videos

Watch these episodes of Defrag Tools to see WinDbg in action.

Title Description
Defrag Tools #182 Tim, Chad, and Andy go over the basics of WinDbg and some of the features
Defrag Tools #183 Nick, Tim, and Chad use WinDbg and go over a quick demo
Defrag Tools #184 Bill and Andrew walk through the scripting features in WinDbg
Defrag Tools #185 James and Ivette provide and introduction to Time Travel Debugging
Defrag Tools #186 James and JCAB covers advanced Time Travel Debugging

Installation and getting connected

Title Description
WinDbg – Installation Installation directions
WinDbg – Start a user-mode session User Mode
WinDbg – Start a kernel mode session Kernel Mode