Skip to main content
Glama

next

Step over to the next line during Go debugging sessions to continue code execution and analyze program flow.

Instructions

Step over to next line

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesID of the debug session

Implementation Reference

  • The core handler logic for the 'next' tool: sends a 'next' command to the Delve debug session and returns a success message.
    case "next": { await sendDelveCommand(session, "Command", { name: "next" }); return { content: [{ type: "text", text: "Stepped to next line" }] }; }
  • Defines the input schema for the 'next' tool, requiring a sessionId.
    { name: "next", description: "Step over to next line", inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "ID of the debug session" } }, required: ["sessionId"] }
  • src/server.ts:195-207 (registration)
    Registers the 'next' tool in the tools array provided to the MCP server.
    { name: "next", description: "Step over to next line", inputSchema: { type: "object", properties: { sessionId: { type: "string", description: "ID of the debug session" } }, required: ["sessionId"] }
  • src/server.ts:411-413 (registration)
    Routes calls to the 'next' tool to the handleControlCommands function.
    if (["setBreakpoint", "removeBreakpoint", "continue", "next", "step", "stepout", "variables", "evaluate"].includes(name)) { return handleControlCommands(name, args); }

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