get_call_stack
Retrieve the call stack for a paused thread to get frame IDs needed for inspecting variables and scopes.
Instructions
Get the call stack for a thread.
State: STOPPED required. Returns frame_id values needed for get_scopes().
Diagnostic: Set NETCOREDBG_STACKTRACE_DELAY_MS env var to add delay before stackTrace request. This helps diagnose timing issues with ICorDebugThread3. Example: NETCOREDBG_STACKTRACE_DELAY_MS=300
Escape hatch: see the dap-escape-hatch prompt for unwrapped DAP requests.
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": "get_call_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levels | No | ||
| thread_id | No |