Skip to main content

Class DiagnosticUtil

A set of utilities for diagnostics.

Assembly: Dalamud.dll
View Source
Declaration
public static class DiagnosticUtil

Methods

GetUsefulTrace(StackTrace)

Gets a stack trace that filters out irrelevant frames.

View Source
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.