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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| location | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |