Docs / Troubleshooting
My page is blank or froze
A page that shows nothing has not run, or threw an error. A page that froze can be stopped on its own.
On this page
A blank page
If the page pane says Run it to see the page, this tab has no page yet.
Run it to see the page
- Press Run, or press ⌘↵ or Ctrl+Enter.
- If the rail shows a shield, the page’s code uses
fetchor another way to reach outside, so it waits for Run. See My code did not run as I typed.
If the page ran but is empty or wrong:
- Read the console beside the page. Errors from the page’s code are printed there.
- Fix the code. Where an error names a line, click it to go there.
A page that froze
Code that never pauses, such as a loop that never ends, freezes the page. The page runs in its own process, so the rest of JSpark keeps working. JSpark covers the page and says so:
Components and hooks
3
−+The page froze
Only the page is stuck. Hiding won’t stop it.
Stop page- Press Stop page. Hiding the page, or moving to another tab, does not stop it.
- Fix the loop or the code that never pauses.
- Run the Snippet again.
See Web pages for how a page runs.
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.