clear-breakpoints
Remove breakpoints from a file or clear all breakpoints.
How to use it
clear-breakpoints is exposed by the MCP Dap Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the clear-breakpoints tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Dap Server
claude mcp add mcp-dap-server /path/to/mcp-dap-serverOther tools in MCP Dap Server (39)
(boolean, optional): Clear all breakpoints
(array): Arguments to pass to the program
(array, optional): New program arguments
Attach to a running process
Debug a pre-compiled executable
Set a breakpoint at a file:line location or on a function.
(array): Breakpoints to set before running (file:line or function name)
Get full debugging context including current location, stack trace, and all variables.
Continue program execution. Optionally run to a specific location.
Debug a core dump file
(string): Path to core dump file (required for core mode)
Start a debugging session. Supports four modes:
Disassemble code at a memory address.
Evaluate an expression in the current debugging context.
(string): Expression to evaluate
(string) + line (number): Source file and line number
(number, optional): Stack frame ID
(string): Function name
Get program metadata.
(number): Number of instructions to disassemble
(number, optional): Offset from address
(string): Memory address
(string, required): One of 'source', 'binary', 'core', or 'attach'
(string): Variable name
(string): Path to source file or binary (required for source/binary modes; optional for core mode with GDB, which can auto-detect it)
Pause program execution.
(number): DAP server port
(number): Process ID (required for attach mode)
Restart the debugging session with optional new arguments.
Modify a variable's value in the debugged program.
Compile and debug Go source code
Step through code execution.
End the debugging session. Terminates the debuggee and stops the debugger.
(boolean): Stop at program entry point
(number): Thread ID to pause
(object, optional): Run-to-cursor target (file+line or function)
(string, required): One of 'sources' or 'modules'
(string): New value
(number): Variables reference from context