C-DEngine 5.105

TheCommonUtils..::..GetStackInfo Method

A debug helper to format the call stack in HTML.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string GetStackInfo(
	Object pStack
)
Public Shared Function GetStackInfo ( _
	pStack As Object _
) As String
public:
static String^ GetStackInfo(
	Object^ pStack
)

Parameters

pStack
Type: Object
A StackTrace object created by the caller.

Return Value

A string formatted in HTML with stack trace details.

Remarks


Call this function with a System.Diagnostics.StackTrace object, as shown here:
C#
string strHtmlCallStack = GetStackInfo(new StackTrace(true));