stacktrace_get
Retrieve the call stack of a thread with async state-machine frames flattened to original method names and BCL infrastructure frames hidden by default; use raw=true for unmodified frames.
Instructions
Get the call stack of a thread. By default async state-machine frames are flattened back to their original method names (e.g. UserService.d__3.MoveNext → UserService.GetAsync) and BCL async infrastructure frames are hidden. Pass raw=true for the unmodified DAP frames.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | Thread id. Defaults to the last-stopped thread. | |
| startFrame | No | Skip this many top frames (0 = include the topmost). | |
| levels | No | Maximum frames to return. | |
| raw | No | If true, return raw DAP frames (no async flattening, no infrastructure filtering). |