add_probe
Add a conditional breakpoint or probe at a given location, executing specified GDB commands when hit. Optionally continue execution automatically.
Instructions
添加条件断点/自动采样 probe。commands 为 JSON 数组,每个元素是 GDB 命令。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | No | [] | |
| location | Yes | ||
| continue_ | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |