lukehaas / RunJS

RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
https://runjs.app
2.03k stars 44 forks source link

Maximum call stack size exceeded and old code load #506

Closed Thewizard18n closed 1 year ago

Thewizard18n commented 1 year ago

i think the runJS store the old code in cache or something like that like a text file ... So that when i reopen the runJS i can see the old code . But when i do a recursive function and the compile throw the error i cant exit . Runjs freeze , stopping the process and reopen the old code appear again and i stay in same situation

lukehaas commented 1 year ago

To resolve this, click on Kill in the Action menu:

Screenshot 2022-11-28 at 15 24 49
ourmaninamsterdam commented 1 year ago

I get the same when a max call stack size is exceeded. Reinstalling the app recovers the offending files and runs the code again causing the same issue. Hitting Kill eventually worked after some time.