FStackTracker::CaptureStackTrace

Captures the current stack and updates stack tracking information.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/StackTracker.h

Include

#include "Containers/StackTracker.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/StackTracker.cpp

Syntax

void CaptureStackTrace
(
    int32 EntriesToIgnore,
    void * UserData,
    int32 StackLen,
    bool bLookupStringsForAliasRemoval
)

Remarks

Captures the current stack and updates stack tracking information. optionally stores a user data pointer that the tracker will take ownership of and delete upon reset you must allocate the memory with FMemory::Malloc() EntriesToIgnore are removed from the top of then stack, then we keep at most StackLen of the remaining entries.

Captures the current stack and updates stack tracking information. optionally stores a user data pointer that the tracker will take ownership of and delete upon reset you must allocate the memory with FMemory::Malloc()

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