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
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |
Implementation Reference
- src/server.ts:477-477 (schema)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'] } },
- src/server.ts:789-792 (handler)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; }
- src/server.ts:947-956 (handler)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}`); } }