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
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ID of the debug session |
Implementation Reference
- src/handlers/control.ts:62-70 (handler)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" }] }; }
- src/server.ts:195-207 (schema)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); }