pyocd_breakpoint_set
Set breakpoints at an address or symbol using hardware, software, or automatic types to halt execution during debugging, choosing between flash-safe or reset-persistent options.
Instructions
Set a hardware breakpoint at an address or symbol name (requires ELF). Supports hw (hardware), sw (software), or auto breakpoint types. Software breakpoints survive across more addresses but are lost on reset; hardware breakpoints are limited in number but don't modify flash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Function/symbol name (requires ELF attached) | |
| address | No | Breakpoint address (integer or hex string) | |
| bp_type | No | Breakpoint type: 'hw' (hardware, default), 'sw' (software), or 'auto' | hw |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |