watchpin_set_action_breakpoint
Trigger a WatchPin pulse when a software breakpoint at a specified address is hit, linking code execution to external hardware signals for correlation.
Instructions
Set an action breakpoint that pulses a WatchPin when hit.
Useful for correlating software events with external hardware (e.g., oscilloscope). The target briefly stops, the WatchPin pulses, then execution resumes.
Args: address: Address or symbol name pin: WatchPin number to pulse pulse_width_us: Pulse width in microseconds (default: 100)
Returns: Confirmation
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": {
"address": "<address>",
"pin": "<pin>"
},
"name": "watchpin_set_action_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | ||
| address | Yes | ||
| pulse_width_us | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |