Click or drag to resize

WindowsScriptEngineGetStackTrace Method

Gets a string representation of the script call stack.

Namespace: Microsoft.ClearScript.Windows.Core
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.4.5
Syntax
public override string GetStackTrace()

Return Value

String
The script call stack formatted as a string.

Implements

IScriptEngineGetStackTrace
Remarks

This method returns an empty string if the script engine is not executing script code. The stack trace text format is defined by the script engine.

The WindowsScriptEngine version of this method returns the empty string if script debugging features have not been enabled for the instance.

See Also