StackTraceExtensions FormatStackTraceIntoClickableMultilineText Method Delta Engine Documentation
Shows the callstack as multiline text output to help figure out who called what. Removes the first callstack line (this method) and all non-helpful System, NUnit and nCrunch lines. View code on GitHub

Namespace: DeltaEngine.Extensions
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public static string FormatStackTraceIntoClickableMultilineText(
	int stackFramesToSkip = 0
)

Return Value

Type: String
Remarks

Tests: DeltaEngine.Tests.Extensions.StackTraceExtensionsTests
Examples

1 unit tests call DeltaEngine.Extensions.StackTraceExtensions.FormatStackTraceIntoClickableMultilineText(System.Int32)
[Test, Ignore]
public void FormatStackTraceIntoClickableMultilineText()
{
    // This will output text into the NCrunch output window, which is needed to test this feature
    Console.WriteLine(StackTraceExtensions.FormatStackTraceIntoClickableMultilineText());
}
See Also