Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Display progress when script is executing...

0
0
Hi Ram,

Thank you very much for the positive feedback!

Unfortunately none of the script engines supported by ClearScript appear to provide the sort of notifications you're looking for. V8 has several low-level profiling hooks, but we haven't explored those and it isn't clear how useful they'd be for your purposes.

If your script code often calls into the host, you might be able to use ScriptEngine.GetStackTrace() as a basis for gauging execution progress, but stack trace parsing is a fragile approach. A better solution, if practical, is to have the script code report its own progress via a host API that you provide.

Thanks again, and good luck!

Viewing all articles
Browse latest Browse all 2297