windbg_stack_find_thread
Search all thread stacks for a regex, module, stack pointer, or address, and optionally switch to the matching thread.
Instructions
Search all thread stacks for a regex/module/SP/address and optionally switch to the matching thread.
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": "windbg_stack_find_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sp | No | Exact stack pointer/address to search literally | |
| mode | No | Stack format | params |
| count | No | Frames per thread | |
| switch | No | Switch to the TID nearest the first match | |
| pattern | No | Regex/module/address to search in ~* stack output | |
| context_after | No | Lines after match | |
| context_before | No | Lines before match |