breakpoint
Set, delete, list, or watch debug stops and watchpoints with conditions, temporary hits, ignore counts, and read/write/access triggers during STM32 GDB debugging.
Instructions
Breakpoint / watchpoint management. action=set(location[,condition,temporary,ignore_count]) | delete(breakpoint_id) | list | watch(location,access_type). access_type=r|w|a.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which operation to perform. | |
| session | No | Optional debug-session name. Omit for the default target. | |
| location | No | Location to break at, e.g., 'main', 'main.c:42', or '*0x08001000'. | |
| condition | No | Optional C expression; break only when it is non-zero, e.g. 'count > 5'. | |
| temporary | No | If true, the breakpoint is deleted after its first hit. | |
| access_type | No | Read (r), Write (w), or Access (a). | |
| ignore_count | No | Number of hits to ignore before stopping. | |
| breakpoint_id | No | ID of the breakpoint to delete (e.g., '1'). |