Docs / Timeline
Moving through Steps
Step back and forward, drag across the Steps, or let Autoplay play them. Nothing runs again while you move.
The Timeline moves through a recording that is already made, so going back costs the same as going forward. Every control here is on the Timeline bar.
Previous and next Step
- Previous step: press ⌘← or Ctrl+Left, or click the left arrow.
- Next step: press ⌘→ or Ctrl+Right, or click the right arrow.
- Next step with output: jumps to the next Step that printed to the console.
The same commands are in the Run menu. The code, the Peeks and the panels follow the Step.
Scrubbing
Click a cell on the strip to go to that Step. Drag along the strip to move through the Steps as fast as you like. The code does not run again: every Step is read from the recording.
A long recording has more Steps than the strip has room for. Then each cell stands for a run of Steps, and a click or a drag goes to the Step under the pointer, not to the start of the run.
Timeline · Esc to exit
Nothing in scope
everywhere
everywhere
in this loop
everywhere
in this loop
everywhere
in this loop
everywhere
in this loop
everywhere
everywhere
everywhere
everywhere
Autoplay
- Click Play, or press Space.
- Click Slower or Faster, the minus and plus beside it, to change the speed.
- Click Pause, or press Space again, to stop.
The speed is in Steps a second: 1x is one Step a second, and the default, 2x, is two. It goes from 0.5x to 100x. At the fast speeds, Autoplay moves several Steps at a time. The speed is kept for next time, and is also in Settings → Timeline → Autoplay speed.
Autoplay stops at the last Step. Press Play there, and it starts again from the first Step. Clicking a Step button or the strip stops it where it is.
Output up to this Step
The console follows the Step. A line printed before the Step shows as usual. A line printed at the Step is lit. A line printed after it is dimmed, but stays in place, so the list does not jump while you move. The console keeps the last line printed so far in view.
To see all the output plainly, switch off Show output up to this step, the button at the bottom right of the console. It is on by default. For what the console shows, see The console.
The pictures show JSpark on a Mac. On Windows, the window looks a little different and uses Ctrl for ⌘, but everything works the same way.