Skip to main content
Glama

removeBreakpoint

Eliminate a breakpoint during debugging by specifying the session and breakpoint IDs. This tool is part of the Delve MCP server, designed for managing Go program debugging tasks efficiently.

Instructions

Remove a breakpoint

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
breakpointIdYesID of the breakpoint to remove
sessionIdYesID of the debug session

Implementation Reference

  • Executes the removeBreakpoint tool by sending a ClearBreakpoint command to the Delve session and removing the breakpoint from the session's local map.
    case "removeBreakpoint": { const { breakpointId } = args; await sendDelveCommand(session, "ClearBreakpoint", { id: breakpointId }); session.breakpoints.delete(breakpointId); return { content: [{ type: "text", text: `Removed breakpoint ${breakpointId}` }] }; }
  • src/server.ts:163-180 (registration)
    Registers the removeBreakpoint tool in the MCP server's tool list, including its description and input schema.
    { name: "removeBreakpoint", description: "Remove a breakpoint", inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "ID of the debug session" }, breakpointId: { type: "number", description: "ID of the breakpoint to remove" } }, required: ["sessionId", "breakpointId"] } },
  • Routes calls to removeBreakpoint (and other control tools) to the handleControlCommands function.
    if (["setBreakpoint", "removeBreakpoint", "continue", "next", "step", "stepout", "variables", "evaluate"].includes(name)) { return handleControlCommands(name, args);

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dwisiswant0/delve-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server