- Install WinDbg from this link
- Open WinDbg
- Press
File
->Start debugging
->Launch executable (advanced)
- Fill the path to the program, arguments and working directory
Example:
- Press
Debug
- When debugging starts, the program will be paused at
int 3
instruction.
- Press
Go
button in the top bar orF5
key. - Wait for the program to crash.
- When the program crashes, the debugger will print exception info in the console and will show where the crash occured.
Example: - To make a mini-dump, type this command. This will make a CAB archive with the mini-dump and additional info.
Example:.dump /ba D:/CrashDump.cab
- To make full dump, type this command. It is still called "mini user dump", but contains complete information. This command may take a few minutes.
Example:.dump /ba /mA D:/CrashDumpFull.cab
Last active
December 9, 2023 03:27
-
-
Save tmp64/9ab5f192e1480e9e78d22fda96049236 to your computer and use it in GitHub Desktop.
Crash-dumping with WinDbg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment