ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Methods
BeginCpuProfile Method
CancelAwaitDebugger Method
CancelInterrupt Method
CollectCpuProfileSample Method
CollectGarbage Method
Compile Method
CompileDocument Method
Dispose Method
EndCpuProfile Method
Evaluate Method
Execute Method
ExecuteCommand Method
GetRuntimeHeapInfo Method
GetStackTrace Method
Interrupt Method
WriteRuntimeHeapSnapshot Method

# V8ScriptEngineGetStackTrace Method

Gets a string representation of the script call stack.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override string GetStackTrace()

    Public Overrides Function GetStackTrace As String

    public:
    virtual String^ GetStackTrace() override

    abstract GetStackTrace : unit -> string
    override GetStackTrace : unit -> string

#### Return Value

String
The script call stack formatted as a string.

#### Implements

IScriptEngineGetStackTrace
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.
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft