Skip to main content

Class DiagnosticUtil

A set of utilities for diagnostics.

Assembly: Dalamud.dll
Declaration
public static class DiagnosticUtil

Methods

GetUsefulTrace(StackTrace)

Gets a stack trace that filters out irrelevant frames.

Declaration
public static StackTrace GetUsefulTrace(StackTrace source)
Returns

System.Diagnostics.StackTrace: Returns a stack trace with "extra" frames removed.

Parameters
TypeNameDescription
System.Diagnostics.StackTracesourceThe source stacktrace to filter.