FGenericPlatformStackWalk::GetStack

Walks the stack and updates the Stack array with the symbol information for each line in the stack.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformStackWalk.h

Include

#include "GenericPlatform/GenericPlatformStackWalk.h"

Source

/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp

Syntax

static TArray< FProgramCounterSymbolInfo > GetStack
(
    int32 IgnoreCount,
    int32 MaxDepth,
    void * Context
)

Remarks

Walks the stack and updates the Stack array with the symbol information for each line in the stack.

Returns

The stack of symbols to return.

Parameters

Parameter

Description

IgnoreCount

Number of stack entries to ignore (some are guaranteed to be in the stack walking code)

MaxDepth

The maximum depth to trace, can't be more than 100, offset from IgnoreCount.

Context

Optional thread context information

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss