gdb_set_breakpoint
Set a breakpoint in a C++ program at a specific location or function, optionally with a condition, to pause execution during debugging.
Instructions
Set a breakpoint at a location.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session identifier. | |
| location | Yes | Where to break. Accepts "file:line" (e.g. "main.cpp:42"), function name (e.g. "main"), or address. | |
| condition | No | Optional C++ condition expression (e.g. "i > 10"). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |