hang_analyze
Diagnose a hanging .NET application by automatically pausing execution, listing all threads, and classifying blocking patterns like Monitor, WaitHandle, Semaphore, Task, Thread.Join, Thread.Sleep, 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hang_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topFramesPerThread | No | Top frames per thread to fetch. Default 10. |