Docs / Timeline
Step Detail
Lines records one Step per statement. Inside lines, in JSpark+, also records each call, callback and loop check.
On this page
Step detail is how much of a Run the Timeline records. JSpark records Lines. JSpark+ can also record Inside lines.
Lines
Each statement the code runs is one Step. A chained call such as scores.filter(…).map(…) is one Step. A loop's header is one Step, when the loop starts; each statement in its body is a Step on every turn.
Inside lines JSpark+
In JSpark+, Inside lines also records the calls, callbacks and loop checks inside each line. Each one is an Inner Step. Next step still moves one Step at a time, Inner Steps included.
Timeline · Esc to exit
Nothing in scope
everywhere
everywhere
in this callback
everywhere
in this callback
everywhere
in this callback
everywhere
in this callback
everywhere
everywhere
everywhere
in this callback
everywhere
in this callback
everywhere
everywhere
everywhere
in this callback
everywhere
in this callback
everywhere
everywhere
everywhere
everywhere
An Inner Step is drawn apart from a statement:
- Its cell on the bar is lighter, and only its part of the line is lit.
- The bar says what it is inside, and which pass:
inside scores.filter(…) · 2 of 4. - What it came to is shown after the line:
score >= 10 → true. - Point at an operator or a bracket inside the lit part to see the same value, as
this step →.
Inside lines records more Steps for the same code, so it reaches the recording limit sooner. See What is not recorded.
Choose the detail JSpark+
- Open Settings → Timeline.
- Under Step detail, click Lines or Inside lines.
Step detail
Also steps into calls, callbacks and loops. Hits the limit sooner.
The next recording uses it. A recording made with Lines stays as it was: while it is on screen, the bar says lines only — record in detail. Click it to record again with Inside lines.
In JSpark, Settings shows Inside lines marked +, and choosing it says what JSpark+ adds. The Timeline records Lines.
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.