Skip to main content
Glama

pause_execution

Pause program execution during debugging to inspect variables and analyze code flow at a specific point.

Instructions

Pause execution (Not Implemented)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYes

Implementation Reference

  • Schema definition and registration for the 'pause_execution' tool in the ListTools response. Defines input as requiring sessionId.
    { name: 'pause_execution', description: 'Pause execution (Not Implemented)', inputSchema: { type: 'object', properties: { sessionId: { type: 'string' } }, required: ['sessionId'] } },
  • Handler dispatch for 'pause_execution' tool call in the CallToolRequestSchema switch statement. Delegates to handlePause method.
    case 'pause_execution': { result = await this.handlePause(args as { sessionId: string }); break; }
  • The main handler logic for the pause_execution tool. Currently unimplemented and throws an error indicating it's not yet supported via the proxy.
    private async handlePause(args: { sessionId: string }): Promise<ServerResult> { try { this.logger.info(`Pause requested for session: ${args.sessionId}`); throw new McpError(McpErrorCode.InternalError, "Pause execution not yet implemented with proxy."); } catch (error) { this.logger.error('Failed to pause execution', { error }); if (error instanceof McpError) throw error; throw new McpError(McpErrorCode.InternalError, `Failed to pause execution: ${(error as Error).message}`); } }

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/debugmcpdev/mcp-debugger'

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