remove_breakpoint
Delete a breakpoint by ID, function name, or file and line to stop debugging at that location immediately, whether the program is running, paused, or exited before relaunch.
Instructions
Remove a breakpoint by breakpointId (returned by set_breakpoint / list_breakpoints), by function name, or by file + line (removes all breakpoints at that location). Takes effect immediately while the program is running or paused; also works after the program exits, before a relaunch
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": {
"sessionId": "<sessionId>"
},
"name": "remove_breakpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Alternative addressing: source file path (use together with line) | |
| line | No | Alternative addressing: line number (use together with file) | |
| function | No | Alternative addressing: remove all function breakpoints with this symbol name. Applies the same per-language rewrite as set_breakpoint (e.g. a bare Go "main" matches the stored "main.main"); the response reports the effective name as functionName and, when rewritten, the original as requestedName | |
| sessionId | Yes | ||
| breakpointId | No | Breakpoint id from set_breakpoint or list_breakpoints. Takes precedence over file + line |