Click or drag to resize

EAPUtilCaptureStackFrames Method

Returns a string of the current stack frames. - Use with caution in production as it is an expensive proposition

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static StringBuilder CaptureStackFrames(
	int captureStackFrames,
	int skipFrames,
	bool needFileInfo,
	string omitMethodName = null
)

Parameters

captureStackFrames
Type: SystemInt32
The number of stack frames to capture in the call stack (after skipping 'skipFrames')
skipFrames
Type: SystemInt32
The number of stack frames to skip prior to recording stack frames for debug purposes
needFileInfo
Type: SystemBoolean
Include file name info (and line numbers in debug environments)
omitMethodName (Optional)
Type: SystemString
Exclude any methods that match on this name

Return Value

Type: StringBuilder
A string representing the current stack frames.
See Also