debug_wait_halt
Blocks until the core halts after a breakpoint, then reports the halt location (PC/LR/SP/xPSR, function, source line) or timeout state.
Instructions
Block until the core halts (e.g. breakpoint hit), then report where.
Use after debug_resume when a breakpoint is armed. Returns the halt location (PC/LR/SP/xPSR with function and source line) or a timeout note.
Args: session_id: Session ID from debug_session_start. timeout_ms: Give up after this many milliseconds (default 5000).
Returns: Halt report, or timeout message with current state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |