dbgprobe.breakpoint.set
Set breakpoints at addresses or symbol names to halt execution, using software or hardware breakpoints for embedded debugging.
Instructions
Set a breakpoint at a target address or symbol name. Software breakpoints (default) are handled by the debug probe and work on both flash and RAM. Hardware breakpoints use the CPU's FPB and are limited in number (typically 4-6). If 'symbol' is provided and an ELF is attached, resolves the symbol to an address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Symbol name to resolve to an address (requires ELF attached). | |
| address | No | Address to set the breakpoint at (e.g. 0x08000100 or "0x8000100"). | |
| bp_type | No | Breakpoint type: 'sw' (software, default) or 'hw' (hardware). | |
| session_id | Yes |