debug_breakpoint
Set, clear, or list hardware breakpoints on STM32 targets via the Flash Patch & Breakpoint unit. Resolve locations by function name or hex address to control program execution during debugging.
Instructions
Manage hardware breakpoints (Flash Patch & Breakpoint unit).
Args: session_id: Session ID from debug_session_start. action: "set", "clear", "clear_all", or "list" (default). location: Function name or hex address — required for set/clear. Function names resolve via the session's ELF.
Returns: Breakpoint list after the operation.
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_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| location | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |