run_to_line
Sets a temporary breakpoint at a specified source file and line, then resumes execution to stop when that line is reached.
Instructions
Run until execution reaches a specific source file line.
Sets a temporary breakpoint at the given source location and resumes execution. The target stops when that line is reached.
Args: file: Source file name (can be partial, e.g., 'main.c' or full path) line: Line number in the source file
Returns: Confirmation of temporary breakpoint
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": {
"file": "<file>",
"line": "<line>"
},
"name": "run_to_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| line | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |