WinDbg
Command Line
How to launch WinDbg from the command line:
-
Maunal installation from Windows SDK:
-
Installation from Microsoft Store:
Attach to a Process
There are two ways to attach WinDbg to a running process:
- File -> Attach to a Process -> Select the desired process.
- Press
F6and select the desired process from the list.
Breakpoints
- Add a breakpoint at a specific address:
-
Remove breakpoints:
-
List all breakpoints:
Module Info
-
List all loaded modules:
- Show detailed information about a specific module:
Threads
-
Show all threads in the process:
-
Switch to a specific thread (e.g., thread 3):
Source Files
- Show source file information about a function:
Show line nubmers: