Skip to content

IStackTraceProvider Interface

Provides stack traces.

C#
public interface IStackTraceProvider

This type only exists in the Unity editor and will be removed in builds!

How many stack traces to keep.

C#
public const int MAX_STACK_TRACE_ENTRIES = 100

If true, stack traces will be collected.

C#
bool CollectStackTraces { get; set; }

A list of stack traces.

C#
IList<StackTraceEntry> Invocations { get; }

When a new stack trace is added.

C#
event Action OnStackTraceAdded

Action