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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "debug_wait_halt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |