Fix step() to use AdvanceInstructions command

The Step command was removed in protocol cleanup, but step() still
referenced it. Using AdvanceInstructions (0x71) which is the correct
command for stepping.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Simen Svale 2025-12-30 03:46:39 +01:00
parent 18b976adb8
commit 57c4c43b8a

View file

@ -512,7 +512,7 @@ export class ViceClient {
const body = Buffer.alloc(3); const body = Buffer.alloc(3);
body[0] = stepOver ? 1 : 0; body[0] = stepOver ? 1 : 0;
body.writeUInt16LE(count, 1); body.writeUInt16LE(count, 1);
const response = await this.sendCommand(Command.Step, body); const response = await this.sendCommand(Command.AdvanceInstructions, body);
this.state.running = false; this.state.running = false;
return response; return response;
} }