continue
Resume execution of a paused Commodore 64 emulator to continue debugging until the next breakpoint or error occurs.
Instructions
Resume C64 execution after a breakpoint or pause.
Starts the emulator running until the next breakpoint, manual stop, or error.
Related tools: step, status, setBreakpoint
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:437-458 (registration)MCP server registration of the 'continue' tool. The handler calls ViceClient.continue() and formats the response with connection state.server.registerTool( "continue", { description: `Resume C64 execution after a breakpoint or pause. Starts the emulator running until the next breakpoint, manual stop, or error. Related tools: step, status, setBreakpoint`, }, async () => { try { await client.continue(); return formatResponse({ resumed: true, message: "Execution resumed", hint: "Use status() to check if execution stopped (e.g., at breakpoint)", }); } catch (error) { return formatError(error as ViceError); } } );
- src/protocol/client.ts:474-477 (handler)ViceClient.continue() method: sends the binary protocol Continue command (Command.Continue = 0x31) to VICE monitor and updates local running state.async continue(): Promise<void> { await this.sendCommand(Command.Continue); this.state.running = true; }
- src/protocol/types.ts:25-25 (helper)Protocol constant defining the Continue command code as 0x31.Continue = 0x31,
- src/index.ts:26-47 (helper)formatResponse helper used by the continue tool to format output with MCP content structure and VICE connection metadata.function formatResponse(data: object) { const state = client.getState(); return { content: [ { type: "text" as const, text: JSON.stringify( { ...data, _meta: { connected: state.connected, running: state.running, ...(state.connected && { host: state.host, port: state.port }), }, }, null, 2 ), }, ], }; }