Language

JniRuntime.GetCurrentManagedThreadStackTrace(Int32, Boolean) Method

Definition

Gets an implementation-supplied stack trace for the current managed thread.

public virtual string? GetCurrentManagedThreadStackTrace(int skipFrames = 0, bool fNeedFileInfo = false);
abstract member GetCurrentManagedThreadStackTrace : int * bool -> string
override this.GetCurrentManagedThreadStackTrace : int * bool -> string

Parameters

skipFrames
Int32

The number of initial frames to omit. The base implementation ignores this value.

fNeedFileInfo
Boolean

true to request file information; otherwise, false. The base implementation ignores this value.

Returns

The stack trace supplied by an override, or null from the base implementation.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to