Skip to content

Commit

Permalink
Don't perform multiple steps when Stepping in the UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Dec 8, 2024
1 parent f9b10f9 commit 3b6cae9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/workers/workersSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ export const stepAllWorkers = createAsyncThunk("workers/stepAllWorkers", async (
command: Commands.STEP,
payload: {
program: new Uint8Array(debuggerState.program),
stepsToPerform: debuggerState.stepsToPerform,
// NOTE [ToDr] Despite settings "batched steps", when
// the user clicks "Step" we want just single step to happen.
stepsToPerform: 1,
},
});

Expand Down

0 comments on commit 3b6cae9

Please sign in to comment.