hang_analyze
Diagnose application hangs by auto-pausing execution, listing threads with top frames, and classifying blocking patterns like Monitor, WaitHandle, or async await.
Instructions
Diagnose why an application appears stuck. Auto-pauses if running, lists all threads, fetches the top frames of each, and classifies each thread's blocking pattern (Monitor / WaitHandle / Semaphore / Task / Thread.Join / Thread.Sleep / async await). Leaves the session paused so you can inspect further.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topFramesPerThread | No | Top frames per thread to fetch. Default 10. |