/Engine/Source/Runtime/Core/Public/Containers/StackTracker.h
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 withFMemory::Malloc()or provide a custom delete function
void CaptureStackTrace ( int32 EntriesToIgnore, void * UserData, int32 StackLen, bool bLookupStringsForAliasRemoval )