Provided “AS IS”.
No warranty, no guarantees. Use at your own risk — especially on production systems.
Read the disclaimer.
Find the real reason an app is Not Responding
HangTrace is a free Windows 10/11 troubleshooting CLI that inspects hung UI threads, wait chains, likely blockers, and (optionally) captures a tiny ETW trace — producing a report you can share.
0
downloads
CLI
scriptable
ETW
micro-trace mode
Tip: If the target is protected or elevated, run HangTrace as Administrator for deeper stacks/dumps.
Typical workflow
- Point HangTrace at a PID / process name / window title.
- It checks hung windows, takes a small snapshot, and runs wait-chain analysis.
- It captures stacks from the UI thread + likely blockers.
- Optional: start/stop a short WPR trace with clear markers.
- Get JSON + HTML report (and optional minidump).
hangtrace --process notepad.exe --html hangtrace_report.htmlhangtrace --pid 1234 --deep --dump hangtrace_dump.dmphangtrace --pid 1234 --etw hangtrace_trace.etl
What HangTrace can diagnose
UI thread blocked
Detects a hung UI thread and shows what it’s waiting on via wait chains.
Cross-thread & cross-process blockers
Surfaces “likely blocker” threads and captures their stacks too.
High CPU / spin
Samples thread CPU deltas to spot hot threads during the hang window.
I/O & contention signals
Adds heuristics to highlight common hang patterns (locks, waits, message loops).
ETW micro-trace (optional)
Uses WPR to capture a short trace with markers for WPA analysis (when WPT is installed).
Shareable report
Outputs JSON + a human-friendly HTML report, plus optional dump.
How to use
Fast diagnosis
hangtrace --process app.exe --html report.html- Best when you just need “what is it stuck on?”
- Produces a quick HTML you can attach to tickets.
Deep / support bundle
hangtrace --pid 1234 --deep --dump app.dmp --etw trace.etl- Use on stubborn issues or when you need proof.
- Run as admin to maximize access to threads.
Best practices matter
HangTrace is a diagnostic tool. Use it responsibly to avoid disrupting user workflows.
Read the Usage Best Practices before running on production machines.
Download
HangTrace v1.3.0
SHA-256: 0000000000000000000000000000000000000000000000000000000000000000
Size: 0.00 MB