snapshot
Capture a one-shot diagnostic state: either full registers, stack, faults, and project/RTT logs, or RTOS task and queue context.
Instructions
One-shot diagnostic snapshot. scope=full([include_project,include_rtos,include_logs,log_limit,project_root]) | rtos. full bundles registers+stack+faults; rtos captures task/queue state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Which operation to perform. | |
| session | No | Optional debug-session name. Omit for the default target. | |
| log_limit | No | Maximum number of RTT log entries to include. | |
| include_logs | No | Include captured RTT logs. | |
| include_rtos | No | Include FreeRTOS runtime context. | |
| project_root | No | Optional project root for discovery. | |
| include_project | No | Include project discovery context. |