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

New Post: Gathering error/exception information when using .Execute

0
0
Hi TooSlow,

The ErrorDetails property of ScriptEngineException should contain the information you're looking for. However, Windows script engines (JScript and VBScript) only provide this information if you enable script debugging. To do so, pass WindowsScriptEngineFlags.EnableDebugging to the script engine's constructor.

By the way, please see here for more information.

Cheers!

Viewing all articles
Browse latest Browse all 2297