Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>WinDBG for VS Code - NightlyNew to Visual Studio Code? Get it now.
WinDBG for VS Code - Nightly

WinDBG for VS Code - Nightly

Preview

tmidorikawa

|
1 install
| (0) | Free
Nightly preview of WinDBG for VS Code with on-demand HTTP Range MSF symbol resolution for multi-gigabyte PDBs, read-only crash dump analysis, and experimental TTD inspection on macOS and Windows.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WinDBG for VS Code - Nightly

Nightly Edition: This standalone preview channel enables on-demand HTTP Range MSF symbol resolution so multi-gigabyte private PDBs (such as browser and engine symbols) resolve call stacks, inline frames, source lines, locals, and types while transferring megabytes instead of downloading the entire PDB file. Disable the stable WinDBG for VS Code extension in the same window or profile while using Nightly so their windbg.* commands do not overlap.

Analyze Windows crash dumps in Visual Studio Code with a WinDbg-style command window. Open a .dmp file and run the commands you already know, such as !analyze -v, k, ~, lm, dt and u, then follow threads, stack frames, modules, registers and local variables in views beside the editor.

The extension reads the dump itself. It does not need DbgEng.dll, dbghelp or an installed WinDbg, and it runs on Windows and macOS. The LLVM tools installed on your machine provide symbol resolution, disassembly and type information. Time Travel Debugging traces (.run) can be inspected too, as an experimental feature.

Preview. This extension is in preview. Captures are always opened read-only: the extension never changes the file and does not debug live processes.

Contents

  • Features
  • Requirements
  • Getting started
  • Using the command window
  • VS Code commands
  • Debugger commands for common tasks
  • WinDBG views
  • Memory and disassembly window
  • TTD traces (experimental)
  • GitHub Copilot
  • Claude Code
  • Settings
  • Supported files
  • Limitations
  • Privacy
  • Implemented debugger commands
  • License

Features

  • A WinDbg-style command window with command history, Tab completion, find, and clickable links in the output that open module details, switch threads, select frames, disassemble call sites and show memory.
  • !analyze -v triage, stack walking, thread and module lists, registers, memory display and search, disassembly, dt / dv / dx type display and much more of the debugger's command set, plus built-in WDA commands. See Implemented debugger commands for the full list.
  • Symbols from Microsoft Public Symbols, your own symbol servers (including private servers that need an Azure CLI sign-in or a personal access token) and local directories, downloaded automatically when a command needs them and cached.
  • Threads, Call Stack, Modules, Locals, Registers, Watch, Parallel Stacks and Command Tree views in the Run and Debug side bar, and the current frame's source file opened beside the analyzer.
  • A detachable, read-only memory and disassembly window.
  • Notes and a command history file kept beside each capture.
  • Read-only analysis tools for GitHub Copilot, and the same tools for Claude Code through a local MCP server (off by default).
  • Experimental inspection of Time Travel Debugging (.run) traces.

Requirements

Requirement Version Used for
Visual Studio Code 1.129.0 or later Running the extension
LLVM (llvm-symbolizer, llvm-pdbutil, llvm-mc) 22 or later Symbols, type information and disassembly
Azure CLI Current Optional: signing in to private symbol servers

Install LLVM with brew install llvm on macOS, or from an official LLVM release on Windows. The extension looks for the tools in the directory set in windbg.llvm.toolPath, then in the standard Homebrew and Windows install locations, then on PATH. llvm-symbolizer and llvm-pdbutil must be in the same directory.

Symbols and types need only llvm-symbolizer and llvm-pdbutil; llvm-mc is needed for disassembly (u, ub, uf, #) and assembly (a). The Windows installer (LLVM-<version>-win64.exe) does not include llvm-mc.exe: for disassembly on Windows, extract the full clang+llvm-<version>-x86_64-pc-windows-msvc.tar.xz archive from the LLVM releases page and point windbg.llvm.toolPath at its bin directory. Without LLVM you can still open a dump and inspect its structure; commands that need the tools say so.

Run WinDBG: Show Symbol Diagnostics to see which LLVM tools were found and how symbols are configured.

The extension needs a trusted workspace and a capture on a real file system: it is disabled in Restricted Mode and in virtual workspaces. In a remote window (Remote - SSH, for example) it runs on the remote machine, which must be a Windows or macOS host with LLVM installed. Linux hosts, including WSL and most dev containers, are not supported.

Getting started

  1. Open a .dmp, .mdmp or .hdmp file in VS Code, for example by double-clicking it in the Explorer. It opens in the WinDBG Dump Analyzer editor. To open a file outside the workspace, run WinDBG: Open Crash Dump or TTD Trace from the Command Palette. If a file opens as text instead, right-click it and choose Open With WinDBG Dump Analyzer.
  2. Wait for the banner that reports the architecture, the module and thread counts and the recorded exception.
  3. Type a command in the input at the bottom of the command window and press Enter.

A first look at a crash usually goes like this:

!analyze -v      classify the fault and show the faulting stack
.ecxr            switch to the context of the recorded exception
k                walk the stack of the current thread
~                list the threads
~*k              walk every thread's stack
lm               list the loaded modules and their symbol state

Symbols are fetched automatically the first time a command needs them. To run the same commands every time a dump opens, list them in windbg.command.startupCommands, for example ["!analyze -v", "k"].

Using the command window

  • Run a command: type it and press Enter. Several commands can share a line, separated by ; (for example .ecxr; kv; lm). Pressing Enter on an empty input repeats the last command, as in WinDbg.
  • Thread prefixes: ~3 k runs a command on thread 3, ~*k on every thread and ~# on the thread of the recorded event; ~3s makes thread 3 the current thread.
  • History: Up and Down step through earlier commands; Shift+Up and Shift+Down step only through the ones that start with what you typed. The history is restored from the capture's history file when the capture opens again.
  • Frames: Ctrl+Up and Ctrl+Down run .f- and .f+ to select the previous and next stack frame. On macOS these keys open Mission Control unless you turn off those system shortcuts; type .f- and .f+ instead.
  • Completion: Tab completes a command name, a register after @, a pseudo-register after $, a module!symbol from cached symbols, and a module name after lm m or .reload.
  • Links: module names, thread numbers, frame numbers, call sites and addresses in the output are links that run the matching command (lmv a ..., ~<n>s, .frame, u ..., db ...). Right-click a link for Copy Command or Copy Link Text.
  • Find and navigate: Ctrl+F searches the whole output. Ctrl+[ and Ctrl+] select the previous and next command's output, and Ctrl+Alt+H highlights every occurrence of the selected text.
  • Paste and queue: pasting several lines runs each line as a command, and commands typed while one is running are queued (up to 32).
  • Stop: Escape or Cancel stops a running dump command, a symbol download (including cabinet expansion and Azure CLI authentication) or a TTD scan without restarting the session. If a dump command still has not stopped, Restart (or a second Escape) restarts the analyzer's worker after you confirm; the output and the history are kept.
  • Help: .help lists every command by category, .help <category> (for example .help memory) lists one category with its syntax, and .hh <text> opens the debugger documentation on Microsoft Learn.
  • Run commands from an editor: while an analyzer is open, write commands one per line in any text editor, such as the capture's notes, select them and choose Run Selection in WinDBG Analyzer from the editor's context menu. With nothing selected, every non-empty line of the document runs. A run holds at most 32 commands; a longer one runs nothing.

VS Code commands

Commands run from the Command Palette act on the active analyzer, or on the one that was active last. None has a default keyboard shortcut; context menus and title bars show them without the WinDBG: prefix.

Command Where What it does
WinDBG: Open Crash Dump or TTD Trace Command Palette Choose a .dmp, .mdmp, .hdmp or .run file and open it in the analyzer.
WinDBG: Open With WinDBG Dump Analyzer Explorer context menu of a capture file Open that file in the analyzer.
WinDBG: Run Debugger Command Command Palette, with an analyzer active Move the keyboard focus to the command input of the active analyzer.
WinDBG: Cancel Command Analyzer's title bar, Command Palette, with an analyzer active Cooperatively stop a running command, symbol download or TTD scan without restarting the session.
WinDBG: Run Selection in WinDBG Analyzer Editor context menu, Command Palette Run the selected lines (or the whole document) as commands, one per line, in the analyzer.
WinDBG: Clear Command Output Analyzer's title bar, Command Palette, with an analyzer active Clear the output of the command window.
WinDBG: Copy Command Output Analyzer's title bar, Command Palette, with an analyzer active Copy all retained output, including lines scrolled out of view, to the clipboard.
WinDBG: Copy Last Command Output Command Palette, with an analyzer active Copy the output of the most recent command.
WinDBG: Save Command Output... Command Palette, with an analyzer active Save the retained output to a text file you choose.
WinDBG: Restart Analyzer Session Command Palette Restart the analyzer of the active capture and parse it again; the output and the history are kept.
WinDBG: Open Memory and Disassembly Window Command Palette Open the read-only WinDBG Memory window for the active capture.
WinDBG: Open Notes Analyzer's title bar ... menu, Command Palette Open the capture's notes file (<capture>.notes.md, in the capture's folder) beside the analyzer, creating it the first time.
WinDBG: Open Command History File Analyzer's title bar ... menu, Command Palette Open the capture's history file (<capture>.history), which records the commands run on it and their output.
WinDBG: Show Source of Current Frame Command Palette, with a crash dump open Open the source file of the current frame, with its line marked.
WinDBG: Show Symbol Diagnostics Command Palette Write the state of the LLVM tools, the symbol configuration and what the last symbol request could not get to the WinDBG Symbols output channel.
WinDBG: Clear Symbol Cache Command Palette Delete the symbol files in the symbol cache, including any that WinDbg downloaded there. It asks first only when the cache is the one _NT_SYMBOL_PATH names; a folder set in windbg.symbols.cachePath is cleared without asking.
WinDBG: Set Symbol Server Credential Command Palette Store the personal access token for a symbol server whose windbg.symbols.authentication profile has the kind personalAccessToken. The token is kept in the operating system keychain.
WinDBG: Clear Symbol Server Credential Command Palette Remove a stored symbol server credential.
WinDBG: Add Watch Expression WinDBG Watch view title bar, Command Palette Add an expression, in the C++ syntax of ??, to the WinDBG Watch view.
WinDBG: Edit Watch Expression WinDBG Watch view context menu Change a watch expression.
WinDBG: Remove Watch Expression WinDBG Watch view context menu Remove a watch expression.
WinDBG: Remove All Watch Expressions WinDBG Watch view title bar Remove every watch expression.
WinDBG: Copy Value WinDBG Registers view context menu Copy a register's value as shown.
WinDBG: Copy Command Context menu of a link in the output Copy the command the link runs.
WinDBG: Copy Link Text Context menu of a link in the output Copy the text of the link, such as a module name or an address.
WinDBG: Set Up Claude Code Access Command Palette Start the local MCP server for Claude Code and copy the command that registers it.
WinDBG: Reset Claude Code Access Token Command Palette Replace the Claude Code access token and copy the new registration command.

Debugger commands for common tasks

The full list of the commands that run here is in Implemented debugger commands.

Task Commands
Triage the crash !analyze -v, .ecxr, .exr -1, .lastevent, .bugcheck (kernel dumps)
Learn about the capture vertarget, .time, .dumpdebug, !peb, !teb
Threads and stacks ~, ~<n>s, ~*k, k, kb, kv, kn, kp, kP, !uniqstack, !runaway, .frame [/r] <n>
Modules and symbols lm, lmv m <module>, x <module>!<pattern>, ln <address>, .reload [/f] [<module>]
Registers and memory r, db / dw / dd / dq, dps, da / du, s, !address
Disassembly u, ub, uf
Types and locals dt <type> [<address>], dv, dx, ??
Errors and handles !gle, !error <code>, !handle
WDA !wda.help, !crash, !findcrash, !us, !lt, !cs, !grep <regex> <command> (for example !grep kernelbase ~*k)

k counts inline frames, as does .frame <n>. Use .frame /r <n> to see the registers recovered for a frame, dv for its locals, and kp or kP for parameters described by a cached private PDB. u <address> L4 shows four instructions from that address, while ub <address> L4 shows the four leading up to it. When LLVM and the bytes are available, r, .frame /r and ~<n>s also show the instruction at the selected context's address.

WDA commands are built in: run them as !wda.<name> or, when the name is free, as !<name>, and add -? for a command's usage. !heap is not available; the WDA command !wheap shows the NT heaps.

Every command on the Microsoft Learn Commands page is recognized. One that needs a live target or a kernel debugging connection, such as g or p on a crash dump, says what it needs instead of failing silently. Meta-commands (.name) and extension commands (!name) run only as listed in Implemented debugger commands; most others, such as .logopen, .effmach or !locks, are reported as Couldn't resolve error at '...', as a mistyped command is. Breakpoints, event filters, memory edits and thread freezes exist only in the analyzer session; they never change the capture.

WinDBG views

While a crash dump (.dmp, .mdmp or .hdmp) is open, the Run and Debug side bar shows the first eight views below for the most recently active crash dump analyzer. WinDBG TTD Timeline appears while a TTD trace (.run) is open; a trace does not use the other views. The views update after every command.

View Shows Click to
WinDBG Threads The threads, as ~ lists them Make a thread current (~<n>s)
WinDBG Call Stack The current thread's frames, as k walks them Select a frame (.frame)
WinDBG Modules The loaded modules, as lm lists them Show a module's details (lmv a <start>)
WinDBG Locals The current frame's parameters and locals, as dv lists them (needs private symbols)
WinDBG Registers The registers r prints, with changed values marked Right-click to copy a value
WinDBG Watch The C++ expressions you add, evaluated like ?? Right-click to edit or remove one
WinDBG Parallel Stacks Every thread's stack, merged into one tree Select a thread and frame
WinDBG Command Tree The command tree loaded with .cmdtree Run a node's command
WinDBG TTD Timeline For a TTD trace: events, thread lifetimes and the current position Travel to that position

When the current frame changes, its source file opens beside the analyzer with the line marked (windbg.source.followFrame). Map build-machine paths to local folders with windbg.source.pathMappings.

Memory and disassembly window

WinDBG: Open Memory and Disassembly Window opens a separate, read-only window for the active capture. It shows bytes with their text, integers, floating-point values or pointers, next to the disassembly of the nearby code. The view can stay at an address or follow the current thread's instruction or stack pointer, marks the bytes that changed after each command, and lets you follow branch targets in the disassembly.

TTD traces (experimental)

.run files from Time Travel Debugging open in the same analyzer, without a Windows replay runtime. The extension reads what the trace recorded: the trace information (!ttdinfo), the recorded memory pages (!ttdpages, db, dq), the recorded exceptions and events (!ttdevents, .lastevent), the module loads (lm) and the threads (~, ~<n>s and r for a thread's initial registers).

On the x64 traces that replay supports, select a thread with ~<n>s, then !tt <sequence>:<steps> replays it to a position (the TTD Timeline view and the event links do both steps for you), t, p and g step forward and t-, p- and g- backward, bp and ba set replay breakpoints, and k, u, dps, ln, dt and the memory window read the replayed state. When replay meets an instruction it does not model, it stops at the last position it could verify. Other traces can be inspected statically only. .help ttd lists the commands, and the GitHub Copilot and Claude Code tools cannot open traces.

GitHub Copilot

The extension contributes eight read-only language model tools, so Copilot Chat can analyze a dump:

Tool Reference What it does
windbg_openDump #windbgOpen Opens a .dmp, .mdmp or .hdmp file by its absolute path; on Windows the path must start with a drive letter (UNC paths are refused). Needed before the other tools, except windbg_symbolStatus and windbg_readView
windbg_analyze #windbgAnalyze Runs !analyze -v (fault classification, exception registers, stack and memory summary)
windbg_stack #windbgStack Walks the stack of the current thread or of a given thread (40 frames by default, up to 256, optional clean mode)
windbg_modules #windbgModules Lists the modules (with optional path-redacted version and image details)
windbg_threads #windbgThreads Lists the threads
windbg_runCommand #windbgCommand Runs one of a fixed set of read-only analysis commands
windbg_symbolStatus #windbgSymbols Reports the LLVM tools and the symbol configuration
windbg_readView #windbgView Reads what a WinDBG view shows for the dump open in your analyzer, or structural views from windbg_openDump

The tools cannot read raw memory, disassemble, download symbols or change the state of your command window. The WinDBG Analyst chat agent, contributed by the extension, uses these tools; pick it in the Chat agent picker.

Claude Code

The same eight tools can be served to Claude Code through a local MCP server, which is off by default. Copilot and Claude Code share the dump that windbg_openDump opened in a window: an open from either one replaces the dump the other is working with.

  1. Run WinDBG: Set Up Claude Code Access and confirm. This turns on windbg.assistantServer.enabled, creates an access token, starts the server on 127.0.0.1 at windbg.assistantServer.port (47110 by default) and copies a claude mcp add ... command line to the clipboard.
  2. Run that command line in a terminal.
  3. Run /mcp in Claude Code to check that windbg is connected.

The server runs inside VS Code. It listens only while a VS Code window is open and the extension has started there, which happens when a capture opens in that window (including one restored at start-up) or a WinDBG command runs. After restarting VS Code, do one of these before you use the tools from Claude Code, then reconnect windbg from /mcp. Only one window can listen on the port: any other window where the extension starts shows a warning that the port is in use, and Claude Code works with the window that holds the port.

The server listens on 127.0.0.1 only and answers only requests that carry the access token, which is kept in VS Code's secret storage. WinDBG: Reset Claude Code Access Token replaces the token. To remove the server, run claude mcp remove windbg and turn off windbg.assistantServer.enabled.

Settings

Settings other than windbg.command.historySize, windbg.history.saveToFile, windbg.output.*, windbg.disassembly.syntax and windbg.source.followFrame take effect only in your User settings (or the Remote settings of a remote window), not in a workspace's .vscode/settings.json.

Setting Default Description
windbg.symbols.servers [] Symbol server URLs (https://), queried in order before Microsoft Public Symbols
windbg.symbols.microsoftPublicSymbols true Query Microsoft Public Symbols after your servers
windbg.symbols.authentication [] Sign-in profiles for private symbol servers (Azure CLI or a personal access token)
windbg.symbols.useEnvironmentPath true Also use the servers, cache and directories in _NT_SYMBOL_PATH and _NT_ALT_SYMBOL_PATH
windbg.symbols.cachePath "" Directory for downloaded symbol files, for example a cache shared with WinDbg; empty uses the default
windbg.symbols.localPaths [] Local directories searched for matching images and PDBs before any server
windbg.symbols.offline false Never contact a symbol server: symbols come only from the cache and the local symbol directories
windbg.symbols.autoLoad true Fetch symbols automatically when a command needs them
windbg.symbols.maxDownloadMbps 0 Maximum total symbol download rate in Mbps (0 uses automatic congestion pacing)
windbg.llvm.toolPath "" Directory that contains the LLVM tools; empty detects them automatically
windbg.command.startupCommands [] Commands to run each time a crash dump opens
windbg.command.historySize 200 Number of commands kept for Up / Down recall; 0 turns recall off
windbg.history.saveToFile true Record the commands and their output in a history file beside the capture
windbg.output.maxLines 10000 Maximum output lines kept for each command
windbg.output.scrollbackLines 50000 Maximum output lines kept in the command window
windbg.disassembly.syntax intel Assembly syntax for disassembly: intel or att
windbg.source.pathMappings [] Map source paths recorded in symbols to folders on this machine ({ "from", "to" })
windbg.source.followFrame true Open the current frame's source file beside the analyzer when the frame changes
windbg.assistantServer.enabled false Serve the WinDBG tools to Claude Code through a local MCP server
windbg.assistantServer.port 47110 Port of the local MCP server on 127.0.0.1

Private symbol servers

  1. Add the server URL to windbg.symbols.servers in your User settings.
  2. Add a profile for it to windbg.symbols.authentication. The profile's endpoint must be exactly that URL. Without a profile, requests to the server are sent without credentials.
    • Personal access token, the scheme Azure DevOps symbol servers use: add { "endpoint": "https://artifacts.dev.azure.com/<organization>/_apis/symbol/symsrv", "kind": "personalAccessToken" }, create a token with the Symbols (read) scope, run WinDBG: Set Symbol Server Credential and paste it.
    • Azure CLI, for a server that accepts a Microsoft Entra token: add { "endpoint": "https://<server>/<path>", "kind": "azureCli", "argument": "scope", "audience": "api://<app>/.default" } (argument is resource or scope), then sign in with az login. az login on its own is not enough: every private endpoint needs a profile. While an Azure CLI token is being requested, the status line shows Authenticating.
  3. Run WinDBG: Show Symbol Diagnostics. It shows how many endpoints have an authentication profile and, for each symbol the last request could not get, what each server answered.

Supported files

File Support
.dmp, .mdmp, .hdmp User-mode minidumps
.dmp (kernel) Full (type 1) and bitmap (types 5 and 6) kernel memory dumps of x64 machines, with limits (see Limitations)
.run Time Travel Debugging traces of x86 and x64 processes, experimental: static inspection, and replay on some x64 traces (see TTD traces). A trace in a format the extension does not recognize is refused when it opens

Limitations

  • Captures are read-only post-mortem targets. Live debugging, and commands that resume or step a process, are not available for crash dumps.
  • Kernel crash dumps are supported in part. Only full (type 1) and bitmap (types 5 and 6) dumps of x64 machines open: memory, the bug check processor's registers and exception record, the module list, .bugcheck and !analyze work, and once the kernel's symbols are cached, .process and .thread switch to another process or thread. Pages in transition or behind prototype PTEs are not decoded, so they read as unavailable even when the dump holds them. Small memory dumps, kernel summary dumps, the formats that .dump /k, /ka and /f write, and 32-bit and ARM64 kernel dumps are refused when they open, with a message that says why.
  • Managed (.NET) analysis is not available: SOS commands such as !clrstack are recognized but explain that they cannot run. Use dotnet-dump or WinDbg with SOS for managed code.
  • When a frame cannot be unwound exactly, k labels the frames recovered by scanning. x64 can use unwind data from cached images, the dump itself, or the minidump FunctionTable stream; x86 uses cached PDB frame data or frame pointers. ARM64 always scans after the first frame.
  • dt reads types from the module's PDB. Microsoft's public PDBs for ntdll and the kernel include many types, and the first fields of _TEB and _PEB are built in. dv and the Locals view need the module's full (private) PDB, which holds the local variables. A local without a usable location at the frame's instruction is reported as unavailable; inline and static locals are not listed.
  • Source files are opened from the paths recorded in the symbols or the ones you map; source servers and SourceLink are not supported.
  • TTD support is experimental: replay works on some x64 traces only, and its results are not yet verified against WinDbg's.

Privacy

  • The capture file is never modified. Symbol downloads send the module's file name and identity to the symbol servers you configured and, unless you turn it off, to Microsoft Public Symbols. Turn on windbg.symbols.offline to stop all symbol server requests.
  • The extension writes files beside a capture in two cases: the notes file (<capture>.notes.md), only when you run WinDBG: Open Notes; and, while windbg.history.saveToFile is on (the default), the command history file <capture>.history. Once that file passes 32 MiB, its older part moves to <capture>.history.1. The history files contain command output, so treat them like the capture.
  • The GitHub Copilot and Claude Code tools are read-only and never download symbols. Their results never include raw memory, disassembly or full file paths: a view's text names only the dump's file name. They do see what the WinDBG views show, register, watch and local values included. What you send to an AI service is handled under that service's terms.
  • The extension collects no telemetry.

Implemented debugger commands

Every command below runs on a crash dump, within what a read-only capture allows, with three exceptions: kernel commands such as .process, .thread, .bugcheck and !tasklist need a kernel dump; WDA commands that read a user-mode process, such as !wheap, !cs, !loaderlock and !findcrash, need a user-mode dump; and !tt, !ttdinfo, !ttdpages, !ttdevents, !positions, t-, p- and g- need a TTD trace. A TTD trace accepts only the commands that .help ttd lists (see TTD traces), where t, p and g also replay. .help in the command window uses the same groups, and also lists the recognized commands that cannot run on a capture, each marked with what it needs.

Session and help

Command Syntax Description
ENTER ENTER Repeat Last Command
qq qq Quit (all)
qd qd Quit and Detach
q q Quit
so so [NOEXTWARNING] [NOVERSIONCHECK] Set Kernel Debugging Options
sq sq | sq{e|d} Set Quiet Mode
vercommand vercommand Show Debugger Command Line
vertarget vertarget Show Target Computer Version
version version Show Debugger Version
.ecxr, .excr .ecxr Display Exception Context
.exr .exr [Address | -1] Display Exception Record
.lastevent .lastevent Display Last Event
.time .time [-h Hours] Display System Time
.bugcheck .bugcheck Display Bug Check Data
.dumpdebug .dumpdebug Display Dump Stream Directory
.cls .cls Clear Screen
.cmdtree .cmdtree File Display Command Tree
.help, help .help [Category] Command Help
.hh .hh [Text] Open HTML Help File
.echo .echo String Echo Comment

Expressions and aliases

Command Syntax Description
? ? [Expression] Command Help / Evaluate Expression
?? ?? Expression Evaluate C++ Expression
ad ad [/q] Name Delete Alias
al al List Aliases
as, aS as [Options] Name Value Set Alias
n n [Radix] Set Number Base
.formats .formats Expression Show Number Formats
.printf .printf [/D] [Option] "FormatString" [, Argument ...] Formatted Output
.expr .expr [/s Evaluator] [/q] Choose Expression Evaluator

Memory

Command Syntax Description
a a Address Instruction Assemble
c c Range Address Compare Memory
d d [Options] [Range] Display Memory
db db [Options] [Range] Display Memory (bytes)
dw dw [Options] [Range] Display Memory (words)
dW dW [Options] [Range] Display Memory (words and ASCII)
dd dd [Options] [Range] Display Memory (double-words)
dD dD [Options] [Range] Display Memory (doubles)
dq dq [Options] [Range] Display Memory (quad-words)
da da [Options] [Range] Display Memory (ASCII)
du du [Options] [Range] Display Memory (Unicode)
dc dc [Options] [Range] Display Memory (double-words and ASCII)
df df [Options] [Range] Display Memory (floats)
dp dp [Options] [Range] Display Memory (pointers)
dyb dyb [Options] [Range] Display Memory (binary and bytes)
dyd dyd [Options] [Range] Display Memory (binary and double-words)
dda dda [Options] [Range] Display Referenced Memory (ASCII)
ddp ddp [Options] [Range] Display Referenced Memory (pointer)
ddu ddu [Options] [Range] Display Referenced Memory (Unicode)
dpa dpa [Options] [Range] Display Referenced Memory (ASCII)
dpp dpp [Options] [Range] Display Referenced Memory (pointer)
dpu dpu [Options] [Range] Display Referenced Memory (Unicode)
dqa dqa [Options] [Range] Display Referenced Memory (ASCII)
dqp dqp [Options] [Range] Display Referenced Memory (pointer)
dqu dqu [Options] [Range] Display Referenced Memory (Unicode)
dds, dps, dqs dps [Options] [Range] Display Words and Symbols
dl dl [Options] ListAddress MaxCount Size Display Linked List
ds, dS ds [/c Width] Address Display String
eza eza Address "String" Enter Values (zero-terminated ASCII)
ezu ezu Address "String" Enter Values (zero-terminated Unicode)
ea ea Address "String" Enter Values (ASCII)
eb eb Address Values Enter Values (bytes)
ed ed Address Values Enter Values (double-words)
eD eD Address Values Enter Values (doubles)
ef ef Address Values Enter Values (floats)
ep ep Address Values Enter Values (pointers)
eq eq Address Values Enter Values (quad-words)
eu eu Address "String" Enter Values (Unicode)
ew ew Address Values Enter Values (words)
e e Address Values Enter Values
f f Range Pattern Fill Memory
m m Range Address Move Memory
s s [Options] Range Pattern Search Memory

Registers

Command Syntax Description
rm rm [Mask] Register Mask
r r [Options] [Register[=Value]] Registers
.cxr .cxr [Address | -1] Display Context Record

Threads

Command Syntax Description
~ ~ [ThreadNumber] Thread Status
~e ~Thread e Command Thread-Specific Command
~f ~Thread f Freeze Thread
~u ~Thread u Unfreeze Thread
~n ~Thread n Suspend Thread
~m ~Thread m Resume Thread
~s ~Thread s Set Current Thread / Change Current Processor

Processes and systems

Command Syntax Description
|| || [SystemNumber] System Status
||s ||SystemNumber s Set Current System
| | [ProcessNumber] Process Status
|s |ProcessNumber s Set Current Process
.process .process [/i] [/p [/r]] [/P] [Process] Set Process Context
.thread .thread [/p [/r]] [/P] [/w] [Thread] Set Register Context

Breakpoints and exception filters

Command Syntax Description
ah ah | ah{b|i|d} [Address] | ahc Assertion Handling
ba ba[ID] Access Size [Options] [Address [Passes]] ["CommandString"] Break on Access
bc bc Breakpoints Breakpoint Clear
bd bd Breakpoints Breakpoint Disable
be be Breakpoints Breakpoint Enable
bl bl [/L] [Breakpoints] Breakpoint List
bp, bu, bm bp[ID] [Options] [Address [Passes]] ["CommandString"] Set Breakpoint
br br OldID NewID [OldID2 NewID2 ...] Breakpoint Renumber
bsc bsc ID Condition ["CommandString"] Update Conditional Breakpoint
bs bs ID ["CommandString"] Update Breakpoint Command
sxd sxd [-c Cmd1] [-c2 Cmd2] [-h] Event Set Exceptions (disabled)
sxe sxe [-c Cmd1] [-c2 Cmd2] [-h] Event Set Exceptions (enabled)
sxi sxi [-c Cmd1] [-c2 Cmd2] [-h] Event Set Exceptions (ignored)
sxn sxn [-c Cmd1] [-c2 Cmd2] [-h] Event Set Exceptions (notify)
sxr sxr Set Exceptions (reset)
sx- sx- [-c Cmd1] [-c2 Cmd2] Event Set Exceptions (command)
sx sx Set Exceptions

Symbols and modules

Command Syntax Description
dtx dtx [-h] [-a] [-r[n]] [Module!]Name Address Display Type (extended model)
dt dt [Options] [Type] [Address] Display Type
dv dv [Options] [Pattern] Display Local Variables
dx dx [Options] Expression Display Debugger Object Model Expression
ld ld Module [/f Filename] Load Symbols
lm lm [Options] [a Address] [m Pattern] List Loaded Modules
ln ln [/D] Address List Nearest Symbols
ss ss {a|w|n} Set Symbol Suffix
x x [Options] Module!Symbol Examine Symbols
.reload .reload [/f] [Module] Reload Symbols
!lmi !lmi Module Display Module Information
!dh !dh [-f | -s | -a] Address Display Image Headers

Stacks

Command Syntax Description
kb, kc, kd, kp, kP, kv, k k [Options] [FrameCount] Display Stack Backtrace
!uniqstack !uniqstack [-b | -v | -p | -c] [-n] [FrameCount] Display Unique Stacks
.frame .frame [/c] [/r] [FrameNumber] Set Local Context
.f+, .f- .f+ | .f- Shift Local Context

Disassembly

Command Syntax Description
# # [Pattern] [Address [L Size]] Search for Disassembly Pattern
uf uf [Options] Address Unassemble Function
ub ub [Range] Unassemble Backward
uu uu [Range] Unassemble (unbiased)
u u [Range] Unassemble

Source

Command Syntax Description
lsa lsa [.] Address [, First [, Count]] List Source Lines at Address
lsc lsc List Current Source
lse lse Launch Source Editor
lsf- lsf- File Unload Source File
lsf lsf File Load Source File
lsp lsp [-a] [LeadingLines [TrailingLines]] Set Number of Source Lines
ls ls [.] [First] [, Count] List Source Lines

Execution control

Command Syntax Description
t- t- [Count] Trace Back
p- p- [Count] Step Back
g- g- Go Back

Scripts and control flow

Command Syntax Description
$$>a<, $$><, $$<, $><, $< $<File | $><File | $$<File | $$><File | $$>a<File [Args] Run Script File
j j Expression Command1 ; Command2 Execute If - Else
z Command ; [Processor] z(Expression) Execute While
$$ $$ [any text] Comment Specifier
* * [any text] Comment Line Specifier
.block .block { Commands } Command Block
.if .if (Expression) { Commands } [.elsif (Expression) { Commands }] [.else { Commands }] Conditional Execution
.while .while (Expression) { Commands } While Loop
.do .do { Commands } (Expression) Do Loop
.for .for (Initial ; Expression ; Increment) { Commands } For Loop
.break .break Break Out of a Loop
.continue .continue Continue a Loop
.foreach .foreach [Options] (Variable { InCommands }) { OutCommands } For Each Token
.catch .catch { Commands } Catch Command Errors
!for_each_module !for_each_module [CommandString] For Each Module
!for_each_frame !for_each_frame [CommandString] For Each Frame
.load .load DLLName Load Extension DLL
.loadby .loadby DLLName ModuleName Load Extension DLL by Module
.unload .unload [DLLName] Unload Extension DLL
.unloadall .unloadall Unload All Extension DLLs
.chain .chain [/D] List Debugger Extensions
.extmatch .extmatch [/e ExtDLLPattern] [/n] [/D] Pattern Display All Matching Extensions
.setdll .setdll DLLName Set Default Extension DLL

Extensions

Command Syntax Description
!ttdinfo !ttdinfo Inspect TTD Container (Static Only)
!ttdpages !ttdpages [StartIndex] List Recorded TTD Pages (Static Only)
!ttdevents !ttdevents [StartIndex] List Recorded TTD Event Metadata
!tt !tt Sequence:Steps Time Travel to a Position
!positions, !position !positions Display the Time Travel Position
!teb !teb [TEB-Address] Display the TEB
!peb !peb Display the PEB
!process !process Display the Process
!thread !thread Display the Current Thread
!handle !handle [Handle [UMFlags [TypeName]]] Display Handles
!address !address [-summary | Address] Display Memory Regions
!vm !vm Display Virtual Memory
!vprot !vprot Address Display Virtual Memory Protection
!gle !gle [-all | -nonzero] Display Last Error
!runaway !runaway [Flags] Display Thread Times
!error !error Value [Flags] Decode Error Value
!analyze !analyze [-v] Analyze the Recorded Fault
!exchain !exchain [/c | /C | /f] Display Exception Handler Chain

WDA commands

Command Syntax Description
!wda !wda [Name [Arguments]] Run a WDA Command
!wda.help !wda.help [-all] [Keywords] List the WDA Commands
!wda.grep, !grep !grep [-cs] [-v] [-A n] [-B n] [-C n] [-until Regex | -untilFinal Regex] Regex Command Filter the Output of a Command
!wda.count, !count !count [-q | -qn] [-c] [-time] Command | -s String Count the Output of a Command
!wda.head, !head !head [-s] [Lines] Command Display the First Lines of a Command's Output
!wda.tail, !tail !tail [-l] [-s] Lines Command Display the Last Lines of a Command's Output
!wda.tac, !tac !tac Command Display a Command's Output in Reverse
!wda.sort, !sort !sort [-f List [-d Delimiters] | -c List] [-ai | -ax] Command Sort the Output of a Command
!wda.foreachline, !foreachline, !wda.fel, !fel !foreachline [-f Regex | -fs Regex] [-t] [-n Name] [-v] -x Command [-x Command ...] Command Run Commands for Each Line of Output
!wda.foreachregex, !foreachregex, !wda.fer, !fer !foreachregex -f Regex [-n Name] [-v] -x Command [-x Command ...] Command Run Commands for Each Regex Match
!wda.exec, !exec !exec [-x Command | -xs Command] ... Run a Series of Commands
!wda.if, !if, !wda.wif, !wif !if [-co | -nco] [-MinLines n] [-MaxLines n] [-cr Regex | -ncr Regex] [-x Command ...] [-else Command ...] Command Run Commands Depending on Output
!wda.uniquestacks, !uniquestacks, !wda.us, !us, !wda.usk, !usk !uniquestacks [Options] [FILTER] Display Each Unique Stack Once
!wda.findcrash, !findcrash, !wda.fc, !fc !findcrash [-u] [-k] [-p Process] [-a] Find the Crashing Threads
!wda.foreachmatchingstack, !foreachmatchingstack, !wda.fems, !fems !foreachmatchingstack [Options] (ThreadId | -s Regex | -e Regex | -guid Hash) Command Run a Command on Each Matching Stack
!wda.t, !t, !wda.tc, !tc, !wda.tv, !tv, !wda.ta, !ta, !wda.tf, !tf, !wda.tk, !tk, !wda.tid, !tid !t [Options] [ThreadId] Display a Thread
!wda.listthreads, !listthreads, !wda.lt, !lt, !wda.ltv, !ltv !listthreads [-v] [Options] [Process] List the Threads and What They Wait On
!wda.runaway2, !runaway2 !runaway2 [-u | -k | -t] [-a] [-q] [-v] [Count] Display the Threads That Used the Most CPU Time
!wda.foreachthread, !foreachthread, !wda.fet, !fet !foreachthread [-q] [-ns] [-t] Command Run a Command for Each Thread
!wda.foreachframe, !foreachframe, !wda.fef, !fef !foreachframe [-q] [-f Filter] [-l Limit] [-m Max] [-s Skip] Command Run a Command for Each Frame
!wda.foreachmodule, !foreachmodule, !wda.fem, !fem, !wda.thirdpartymods, !thirdpartymods, !wda.managedmods, !managedmods !foreachmodule [-q] [-U] [-u | -k] [-f Filter [-ff Field]] [Command] Run a Command for Each Module
!wda.frame, !frame, !wda.f, !f, !wda.fx, !fx !frame [-t ThreadId | -d DebuggerThreadId] [-r] [-x] [Frame] Select a Frame of a Thread
!wda.context, !context, !wda.w, !w, !wda.whereami, !whereami !context [-s | -r] Display the Current Process, Thread and Frame
!wda.dr, !dr !dr Display the Registers with the Volatile Ones Marked
!wda.stackinfo, !stackinfo, !wda.si, !si !stackinfo [-u] [Thread] Display the Bounds of a Thread's Stack
!wda.addstack, !addstack, !wda.as, !as !addstack [-u [Filter]] [-c] [Thread] Collect Thread Stacks and List the Distinct Ones
!wda.p, !p, !wda.pid, !pid !p [-pid PID] [-min] [-v] [-z] [-i] [Process] Display the Process
!wda.commandline, !commandline, !wda.cl, !cl !commandline [-a] [-v] [Process] Display the Process Command Line
!wda.path, !path !path Display the PATH Entries
!wda.computername, !computername, !wda.cn, !cn, !wda.hostname, !hostname !computername Display the Computer Name
!wda.mods, !mods, !wda.m, !m, !wda.mu, !mu, !wda.mk, !mk, !wda.mut, !mut !mods [-q] [-l] [-k | -u] [-i] [-info] [-v] [-3] [-n] [-s SortString] [-r] [-clr] [Filter] Display the Loaded Modules
!wda.imports, !imports !imports [-u | -k] [-a] [-i] [-iat] [-m] [-f Filter] [-3] [Module] Display the Import Table of a Module
!wda.imgscan, !imgscan !imgscan [Process] Scan Memory for PE Images
!wda.diffimg, !diffimg !diffimg Compare the Module List with Memory
!wda.criticalsection, !criticalsection, !wda.cs, !cs !criticalsection [-a] [-v] [Address] Display the Critical Sections
!wda.rtlresource, !rtlresource, !wda.res, !res !rtlresource [-a] [-v] [Address] Display the RTL Resources
!wda.loaderlock, !loaderlock, !wda.ll, !ll !loaderlock [-a] [-v] Display the Loader Lock
!wda.loader, !loader, !wda.ldr, !ldr !loader [-d] [-f] Display the Loader State
!wda.tasklist, !tasklist, !wda.tl, !tl, !wda.z, !z, !wda.tlz, !tlz, !wda.tlt, !tlt, !wda.tltu, !tltu, !wda.tlp, !tlp, !wda.tlc, !tlc, !wda.tlm, !tlm !tasklist [-n Name] [-z | -Z] [-s [SessionNumber]] [-u [UserName]] [-j [JobAddress]] [-pid PID] [-parentpid PID] [-exit] [-crash] [-prot] [-proc] [-gflag] [-cl] [-cpu] [-mem] [-memCommit] [-memShared] [-memVirtual] [-memTotal] [-awe] [-t | -tu] [-stat] [-sort Column [-top [Count]]] [-tree] [Filter] List the Processes of a Kernel Dump
!wda.running, !running !running [-dpc] Display the Thread Running on Each Processor
!wda.ready, !ready, !wda.rdy, !rdy !ready [-cpu CPU] Display the Ready Threads
!wda.readyish, !readyish, !wda.ry, !ry !readyish [-cpu CPU] Display the Threads That Neither Wait nor Run
!wda.deferredready, !deferredready, !wda.dfr, !dfr !deferredready Display the Deferred Ready Threads
!wda.standby, !standby, !wda.sby, !sby !standby Display the Standby Threads
!wda.transition, !transition, !wda.trans, !trans !transition Display the Threads in Transition
!wda.initialized, !initialized, !wda.init, !init !initialized Display the Initialized Threads
!wda.gatewait, !gatewait !gatewait Display the Threads in the GateWait State
!wda.waiting, !waiting !waiting Count the Waiting Threads by Wait Reason
!wda.err, !err, !wda.errn, !errn !err [-d] Error | -n Name [-x] Look Up an Error Code
!wda.cut, !cut !cut (-f [-d Delimiters] | -c | -l) List Command Display Parts of Each Line of a Command's Output
!wda.uniqlines, !uniqlines, !wda.ul, !ul !uniqlines [-q] [-c] [-b] [-i] [-t Count] Command Count the Distinct Lines of a Command's Output
!wda.tr, !tr, !wda.replace, !replace !tr Set1 Set2 Command | -d Set1 Command Replace Text in a Command's Output
!wda.sum, !sum !sum [-q] [-n] [-dec] Command Add Up the Numbers in a Command's Output
!wda.dumpinfo, !dumpinfo, !wda.di, !di !dumpinfo [-v] Display Capture Information
!wda.comment, !comment !comment [-v] Display the Capture Comment
!wda.dumptime, !dumptime !dumptime [-v | -c] [-f Value] Display the Capture Times
!wda.tx, !tx !tx [-s | -v] [Ticks1 [Ticks2]] Convert Tick Counts
!wda.shareduserdata, !shareduserdata, !wda.sud, !sud !shareduserdata Display KUSER_SHARED_DATA
!wda.showextraprocessstream, !showextraprocessstream !showextraprocessstream Display the Extra Process Stream
!wda.exceptionrecords, !exceptionrecords, !wda.wexr, !wexr !exceptionrecords [-l | -p Address | Address] Display the Exception Records on the Stack
!wda.dumpstowedexception, !dumpstowedexception !dumpstowedexception Display the Stowed Exceptions
!wda.a, !a !a Run the WDA Analysis of the Dump
!wda.crash, !crash !crash [-v] [-c] Run the First Steps of a Crash Analysis
!wda.da, !da !da [-a | -v | -s Size] Address Display an ANSI String on One Line
!wda.du, !du !du [-a | -v | -s Size] Address Display a Unicode String on One Line
!wda.strings, !strings !strings [-s] [-f] [-l Length] [-min Min] [-max Max] (Start [End | LCount] | -m Module) Display the Strings in a Memory Range
!wda.dumpstackstrings, !dumpstackstrings, !wda.dss, !dss !dumpstackstrings Display the Strings on the Current Stack
!wda.bin, !bin !bin [-b] [-t] [-f] Count Address Display Bytes as Hex Digits and Text
!wda.dps, !dps !dps [-offset sp | bp | both] Range Display Pointers with Their Stack Offsets
!wda.dqs, !dqs !dqs Range Display Quadwords with Their Stack Offsets
!wda.interpretrawstack, !interpretrawstack, !wda.irs, !irs !interpretrawstack Interpret the Raw Stack Frame by Frame
!wda.parsemem, !parsemem !parsemem (-q | -d) Start End Count the Distinct Values in a Memory Range
!wda.findstack, !findstack !findstack [-t ThreadId | -b StackBase] [-cxr] Address Find a Stack That Leads to a Thread Start
!wda.fnent, !fnent !fnent Address Display the Function Table Entry of an Address
!wda.formats, !formats, !wda.fb, !fb, !wda.fd, !fd !formats [-x] [-d] [-o] [-b] [-c] [-t] [-f] [-u] Number Display Chosen Number Formats
!wda.filetime, !filetime, !wda.ft, !ft !filetime Address | -t Value Display a FILETIME
!wda.datetime, !datetime !datetime Address | -t Value Display a .NET DateTime
!wda.rollup, !rollup, !wda.ru, !ru !rollup [-b | -kb | -mb | -gb | -tb | -pb | -eb | -zb | -yb] (Bytes | -fel Command [-t]) Roll Up a Byte Count
!wda.eflags, !eflags !eflags [-v [-r] [-x]] Decode the Flags Register
!wda.mrmsg, !mrmsg, !wda.msg, !msg !mrmsg Message | -d Name a Window Message
!wda.ioctl, !ioctl !ioctl Code Decode an I/O Control Code
!wda.loop, !loop !loop [-q] (Start End Increment | -c Count [-s Start] [-i Increment]) Command Run a Command for Each Value of a Count
!wda.bits2, !bits2, !wda.b2, !b2 !bits2 -m Address Command Run a Command for Each One-Bit Change of an Address
!wda.time, !time !time [-q] [-t Seconds] Command Time a Command
!wda.line, !line, !wda.l, !l, !wda.lh, !lh !line [-e] [-h] Print a Separator Line
!wda.foreachitem, !foreachitem, !wda.fei, !fei !foreachitem Address [-o Offset] [-nohead] [-x Command ...] [-q] [-c] [-m Count] Run Commands for Each Item of a List
!wda.foreacharrayitem, !foreacharrayitem, !wda.feai, !feai !foreacharrayitem Address (-m Count | -end Address) [-t Type] [-x Command ...] [-c] Run Commands for Each Item of an Array
!wda.dumpnativearray, !dumpnativearray, !wda.dna, !dna !dumpnativearray -t Type -c Count Address Display Each Structure of an Array
!wda.foreachavlentry, !foreachavlentry, !wda.fea, !fea !foreachavlentry Address [-x Command ...] [-q] [-c] [-m Count] Run Commands for Each AVL Table Entry
!wda.foreachhashentry, !foreachhashentry, !wda.feh, !feh !foreachhashentry Address [-x Command ...] [-q] [-c] [-m Count] Run Commands for Each Hash Table Entry
!wda.rbtree, !rbtree, !wda.rb, !rb !rbtree Address [-q] Display the Nodes of a Red-Black Tree
!wda.btree, !btree !btree (-e Address NodeType LinksField | -n Address NodeType LinksType) Display the Structures of a Binary Tree
!wda.ip, !ip !ip [-r] [-n] Value Display an IPv4 Address
!wda.byteorder, !byteorder, !wda.ntoh, !ntoh, !wda.hton, !hton !byteorder [-n | -h] Value Swap the Byte Order
!wda.base64, !base64, !wda.b64, !b64 !base64 [-u] [-x] Address | -s Text [-x] Decode Base64 Text
!wda.asn, !asn, !wda.der, !der !asn -p Address [-l Length] [-b | -d] Decode ASN.1 Data
!wda.ndso, !ndso !ndso [-a] [-l Count] [-so] [-to] Display the C++ Objects on the Stack
!wda.ndro, !ndro !ndro Display the C++ Objects in the Registers
!wda.ndto, !ndto !ndto Display the C++ Objects in the TLS Slots
!wda.classtype, !classtype, !wda.ct, !ct !classtype Address Display the Classes of an Object
!wda.dumpvtable, !dumpvtable, !wda.vt, !vt !dumpvtable [-t Type | -o Object | Address] Display a Virtual Function Table
!wda.ndao, !ndao !ndao [-s | -a] [Start [End]] Display the C++ Objects in Memory
!wda.searchobjs, !searchobjs, !wda._so, !_so !searchobjs [-c Command] [-p Suffix] Symbol Run a Command for Each Object of a Class
!wda.searchpointers, !searchpointers, !wda._selmtp, !_selmtp !searchpointers Address Find the Pointers to an Address
!wda.findobj, !findobj !findobj Type List the Objects of a Class
!wda.gflag, !gflag, !wda.gflags, !gflags !gflag [-u] [-k] Display the Global Flags
!wda.ver, !ver !ver Display the Windows Version
!wda.impersonation, !impersonation, !wda.imp, !imp !impersonation Display Whether the Thread Impersonates
!wda.publicsymbolcreep, !publicsymbolcreep !publicsymbolcreep List Modules with Public Symbols Only
!wda.threadpool, !wda.tp, !tp !wda.threadpool [-tp] [-v] [-wt Pool] [Pool] Display the NT Thread Pools
!wda.chk, !chk, !wda.chkall, !chkall !chk [-as] [-u | -k] [-b] [Module] Compare Module Code with the Image Files
!wda.unassemble, !unassemble, !wda.u, !u, !wda.ub, !ub, !wda.uf, !uf, !wda.ufc, !ufc, !wda.un, !un !unassemble [-b | -f | -fc | -n] Address [Length] Unassemble Code with Branch Targets
!wda.outline, !outline, !wda.ol, !ol !outline Function Outline the Calls of a Function
!wda.x, !x, !wda.xv, !xv, !wda.xx, !xx !x [-function] [-v] [-x] [Arguments] Examine Symbols Without Funclets
!wda.ddt, !ddt !ddt [-r | -r1 | -r2] [-address] [-table] [-x Command] Arguments Display a Type with Links
!wda.delayexecution, !delayexecution !delayexecution [-p] Display the Threads Waiting with DelayExecution
!wda.executive, !executive !executive [-p] Display the Threads Waiting with Executive
!wda.maximumwaitreason, !maximumwaitreason !maximumwaitreason [-p] Display the Threads Waiting with MaximumWaitReason
!wda.suspended, !suspended !suspended [-p] Display the Threads Waiting with Suspended
!wda.userrequest, !userrequest !userrequest [-p] Display the Threads Waiting with UserRequest
!wda.wralertbythreadid, !wralertbythreadid !wralertbythreadid [-p] Display the Threads Waiting with WrAlertByThreadId
!wda.wrcpuratecontrol, !wrcpuratecontrol !wrcpuratecontrol [-p] Display the Threads Waiting with WrCpuRateControl
!wda.wrexecutive, !wrexecutive !wrexecutive [-p] Display the Threads Waiting with WrExecutive
!wda.wrfastmutex, !wrfastmutex !wrfastmutex [-p] Display the Threads Waiting with WrFastMutex
!wda.wrfreepage, !wrfreepage !wrfreepage [-p] Display the Threads Waiting with WrFreePage
!wda.wrkernel, !wrkernel !wrkernel [-p] Display the Threads Waiting with WrKernel
!wda.wrkeyedevent, !wrkeyedevent, !wda.wrke, !wrke !wrkeyedevent [-p] Display the Threads Waiting with WrKeyedEvent
!wda.wrlpcreceive, !wrlpcreceive, !wda.lpcs, !lpcs !wrlpcreceive [-p] Display the Threads Waiting with WrLpcReceive
!wda.wrlpcreply, !wrlpcreply, !wda.lpcw, !lpcw, !wda.lpcc, !lpcc !wrlpcreply [-p] Display the Threads Waiting with WrLpcReply
!wda.wrpagein, !wrpagein !wrpagein [-p] Display the Threads Waiting with WrPageIn
!wda.wrpageout, !wrpageout !wrpageout [-p] Display the Threads Waiting with WrPageOut
!wda.wrpushlock, !wrpushlock !wrpushlock [-p] Display the Threads Waiting with WrPushLock
!wda.wrqueue, !wrqueue !wrqueue [-p] Display the Threads Waiting with WrQueue
!wda.wrresource, !wrresource !wrresource [-p] Display the Threads Waiting with WrResource
!wda.wruserrequest, !wruserrequest !wruserrequest [-p] Display the Threads Waiting with WrUserRequest
!wda.wrvirtualmemory, !wrvirtualmemory !wrvirtualmemory [-p] Display the Threads Waiting with WrVirtualMemory
!wda.cpu, !cpu !cpu [CpuNumber] Display the State of the Processors
!wda.dpcstack, !dpcstack, !wda.dpcq, !dpcq !dpcstack [-n CpuNumber] Find the Call Stack on a DPC Stack
!wda.evt, !evt !evt Address Display a Kernel Event
!wda.mutant, !mutant, !wda.mutex, !mutex !mutant Address Display a Kernel Mutant
!wda.semaphore, !semaphore, !wda.sem, !sem !semaphore Address Display a Kernel Semaphore
!wda.fastmutex, !fastmutex, !wda.fm, !fm !fastmutex Address Display a Fast Mutex
!wda.timers, !timers, !wda.timer, !timer !timers [TimerAddress] Display System Timers
!wda.wq, !wq !wq [-s] [-w [Routine]] [-t] [-p Priority] [-q Queue] [Partition] Display Executive Work Queues
!wda.kqueue, !kqueue, !wda.kq, !kq !kqueue [-w] Address Display a Kernel Queue
!wda.eresource, !eresource, !wda.eres, !eres !eresource [-v] [-mv] [-nw] [-a] [Address] Display the Executive Resources
!wda.fasteresource, !fasteresource, !wda.fasteres, !fasteres !fasteresource Address Display a Fast Executive Resource
!wda.pushlock, !pushlock, !wda.pl, !pl !pushlock Thread [PushLock] Find the Owner of a Push Lock
!wda.deadlocks, !deadlocks, !wda.dls, !dls, !wda.waittree, !waittree !deadlocks [-a] Find the Deadlocked Kernel Threads
!wda.hang, !hang, !wda.hw, !hw, !wda.hc, !hc !hang [-c] [-w [-a] [-fast] [-s SessionNumber] [-p ProcessAddr]] Analyze a Kernel Hang
!wda.wheap, !wheap !wheap [-flt Size] [-pa] [Address] Display the NT Heaps
!wda.deviceobject, !deviceobject, !wda.devo, !devo, !wda.deo, !deo !deviceobject [-q] Address Display a Device Object
!wda.driverobject, !driverobject, !wda.drvo, !drvo, !wda.dro, !dro !driverobject [-v] Address Display a Driver Object
!wda.fileobject, !fileobject, !wda.fo, !fo !fileobject [-q] Address Display a File Object
!wda.poolsearch, !poolsearch !poolsearch Start End Tag Search Pool Pages for the Blocks of a Tag
!wda.tag, !tag !tag [-v] [-a] [-m Module] Tag Find Where Kernel Modules Use a Pool Tag
!wda.dtpool, !dtpool, !wda.dtp, !dtp !dtpool [-f] [-v] Address Display a Pool Allocation as Its Structure
!wda.mem, !mem !mem [-npp] [-pp] [-commit] Display Memory Usage Information
!wda.memreport, !memreport !memreport Display Process Memory by Image Name
!wda.job, !job, !wda.ejob, !ejob !job [-q] JobAddress Display a Job Object
!wda.session, !session, !wda.sessions, !sessions, !wda.sess, !sess !session [-s Session | -q Session] [SessionId] Display the Sessions
!wda.trustlets, !trustlets, !wda.trustlet, !trustlet !trustlets List the Trustlets
!wda.werfault, !werfault, !wda.wer, !wer !werfault List the WerFault Processes
!wda.minws, !minws !minws [-v] List Large Minimum Working Sets
!wda.obj, !obj, !wda.winobj, !winobj !obj [-t [Type]] [-p Path] [Object] Browse the Kernel Object Namespace
!wda.objectsd, !objectsd, !wda.objsd, !objsd !objectsd Address Display the Security Descriptor of a Kernel Object
!wda.vad, !vad, !wda.vadtree, !vadtree !vad [-t Type] [-prot Protection] [VadAddress] Display the VAD Tree of a Process
!wda.vadmodules, !vadmodules, !wda.vadm, !vadm !vadmodules Process List the Image VADs of a Process
!wda.addr, !addr !addr Address Display the Region an Address Lies In
!wda.meminfo, !meminfo, !wda.mi, !mi !meminfo Address Classify a Memory Address
!wda.foreachprocess, !foreachprocess, !wda.fep, !fep !foreachprocess [-q] [-unsafe] [-nosym] [-f Filter] [-m Filter] [-s Session] [-z | -Z] Command Run a Command for Each Process
!wda.foreachcpu, !foreachcpu, !wda.fec, !fec !foreachcpu [-q] Command Run a Command for Each Processor
!wda.nativeheapleak, !nativeheapleak, !wda.nhl, !nhl !nativeheapleak [-a] [-p] Display the Native Heap Consumers
!wda.heapleakanalyzer, !heapleakanalyzer, !wda.hla, !hla !heapleakanalyzer [-n Count] [-a] Analyze the Native Heap Stacks
!wda.handletype, !handletype !handletype [-a] [-g] [Process [Type [Command]]] Count the Handles by Process and Object Type
!wda.findhandle, !findhandle !findhandle Object [Process] Find the Handles to a Kernel Object
!wda.handlefind, !handlefind, !wda.hf, !hf !handlefind Address List the Handles to a Kernel Object with Their Access
!wda.filehandles, !filehandles !filehandles File Find the Handles to Files by Name
!wda.searchthreadstacks, !searchthreadstacks, !wda.sts, !sts !searchthreadstacks [-t Thread | -p Process | -a] [-c] [-s] [-k] Value Search the Kernel Stacks of Threads
!wda.attachedthreads, !attachedthreads, !wda.athreads, !athreads !attachedthreads [-p Process] [-a] Display the Threads Attached to Another Process
!wda.listticks, !listticks, !wda.lticks, !lticks !listticks Display the Tick Counts of the Threads
!wda.ssdt, !ssdt !ssdt [-v] Display the System Service Table
!wda.callbacks, !callbacks, !wda.cb, !cb, !wda.cbr, !cbr, !wda.cbo, !cbo, !wda.cbp, !cbp, !wda.cbt, !cbt, !wda.cbi, !cbi !callbacks [-p] [-t] [-i] [-r] [-o] [-a] Display Kernel Callbacks
!wda.regflt, !regflt !regflt Display Registry Callbacks
!wda.wreg, !wreg, !wda.hivelist, !hivelist !wreg [-p Path | -hivelist [-h [HiveAddress]] | -c | -f] Display Registry Keys and Hives
!wda.currentversion, !currentversion, !wda.cv, !cv !currentversion Display the Windows Version Values
!wda.svcreg, !svcreg !svcreg [Filter] Display a Service Registry Key
!wda.envvars, !envvars !envvars [Name] Display the System Environment Variables
!wda.timezone, !timezone, !wda.tz, !tz !timezone [-a | TimeZone] Display Time Zone Settings
!wda.pendingfiles, !pendingfiles, !wda.pf, !pf !pendingfiles Display File Operations Pending a Reboot
!wda.safemode, !safemode !safemode [-net | -min] [Component] Display the Safe Mode Components
!wda.apps, !apps !apps [App] Display the Installed Applications
!wda.qfe, !qfe, !wda.hotfix, !hotfix !qfe Display the Installed Updates
!wda.users, !users !users Display the Users of the Machine
!wda.regbloat, !regbloat !regbloat Find Registry Keys with Many Subkeys or Values
!wda.wirp, !wirp !wirp [-f] [-v] Address Display an IRP
!wda.deadirps, !deadirps !deadirps Display the Dead IRPs
!wda.wirpfind, !wirpfind !wirpfind [-c] [-d DriverName] [-f FileObject] [-t ThreadAddress] [-u UserEvent] Find the IRPs
!wda.irpbyfilename, !irpbyfilename, !wda.ibfn, !ibfn !irpbyfilename [-f] [-a] [Text] List the IRPs of a File Name

License

Released under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft