Edit

Share via


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 Use this interactive command to display a debugger object model expression.
Using LINQ With the debugger objects Use a SQL-like query language.
Native debugger objects in NatVis Use the objects with NatVis.
WinDbg: Data model Use the built-in data model support in WinDbg.

Extend the data model

Title Description
JavaScript debugger scripting Use JavaScript to create scripts that understand debugger objects.
WinDbg: Scripting Use the WinDbg built-in scripting.
https://github.com/Microsoft/WinDbg-Samples Access the debugger team GitHub site where they share the latest JavaScript (and C++) sample code.
Native debugger objects in JavaScript extensions Learn how to work with common objects and gain reference information on their attributes and behaviors.

TTD basics

Title Description
Time Travel Debugging: Overview Time Travel Debugging (TTD) overview
Time Travel Debugging: Sample app walkthrough Time travel tutorial

TTD queries

Title Description
Introduction to Time Travel Debugging objects. The data model used 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 by using TTD queries to find the problematic code.
https://github.com/Microsoft/WinDbg-Samples/tree/master/TTDQueries/app-sample All 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 introduce TTD.
Defrag Tools #186 James and JCAB cover advanced TTD.

Installation and connection

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