get_call_stack
Retrieve the call stack for a thread in a stopped state, providing frame IDs needed to inspect local 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | No | ||
| levels | No |