Greetings!
You can execute as many scripts as you'd like within a given engine instance, so how you organize your script code is up to you. Each script can install procedures, functions, classes, etc. You might also be able to design something like RequireJS for VBScript if you're looking for a more robust, on-demand module system.
As for stack traces, ClearScript provides
Good luck!
You can execute as many scripts as you'd like within a given engine instance, so how you organize your script code is up to you. Each script can install procedures, functions, classes, etc. You might also be able to design something like RequireJS for VBScript if you're looking for a more robust, on-demand module system.
As for stack traces, ClearScript provides
ScriptEngine.GetStackTrace()
, but debugging must be enabled for it to work.Good luck!