-
Hi! I'm looking to replace my custom made scripting language with Jint, and my main concern is to know if engine "executions" can be continued. In example, I run an script with a 50_000 iterations for with a log(i) , and use MaxStatements (4000) options. Running the code, prints about 1000 numbers and stops, which is great. Now on the next frame (it's a game) I'd like to run 4000 instructions more, so that it prints from 1000 to 2000. Is this possible? Any examples available? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Max statements is used to prevent script for running too long / use too much resources. Maybe you could try if the debugger functionality and breakpoints could help you somehow. |
Beta Was this translation helpful? Give feedback.
Max statements is used to prevent script for running too long / use too much resources. Maybe you could try if the debugger functionality and breakpoints could help you somehow.