Navigation
API > API/Runtime > API/Runtime/Core
Generic implementation for most platforms
| Name | FGenericPlatformStackWalk |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformStackWalk.h |
| Include Path | #include "GenericPlatform/GenericPlatformStackWalk.h" |
Syntax
struct FGenericPlatformStackWalk
Derived Classes
Structs
| Name | Remarks |
|---|---|
| EStackWalkFlags |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Base | FGenericPlatformStackWalk | GenericPlatform/GenericPlatformStackWalk.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 CaptureStackBackTrace
(
uint64* BackTrace, |
Capture a stack backtrace and optionally use the passed in exception pointers. | GenericPlatform/GenericPlatformStackWalk.h | |
static uint32 CaptureThreadStackBackTrace
(
uint64 ThreadId, |
Capture a stack backtrace for a specific thread. | GenericPlatform/GenericPlatformStackWalk.h | |
static void CopyVirtualPathToLocal
(
char* Dest, |
Converts virtual path to local and write local path to Dest. | GenericPlatform/GenericPlatformStackWalk.h | |
static int32 GetProcessModuleCount() |
Returns the number of modules loaded by the currently running process. | GenericPlatform/GenericPlatformStackWalk.h | |
static int32 GetProcessModuleSignatures
(
FStackWalkModuleInfo* ModuleSignatures, |
Gets the signature for every module loaded by the currently running process. | GenericPlatform/GenericPlatformStackWalk.h | |
static TArray< FProgramCounterSymbolInfo > GetStack
(
int32 IgnoreCount, |
Walks the stack and updates the Stack array with the symbol information for each line in the stack. | GenericPlatform/GenericPlatformStackWalk.h | |
static TMap< FName, FString > GetSymbolMetaData () |
Gets the meta-data associated with all symbols of this target. | GenericPlatform/GenericPlatformStackWalk.h | |
static void Init() |
Initializes options related to stack walking from ini, i.e. how detailed the stack walking should be, performance settings etc. | GenericPlatform/GenericPlatformStackWalk.h | |
static bool InitStackWalking () |
Initializes stack traversal and symbol. | GenericPlatform/GenericPlatformStackWalk.h | |
static bool InitStackWalkingForProcess
(
const FProcHandle& Process |
Like InitStackWalking but initializes stack walking for another process. | GenericPlatform/GenericPlatformStackWalk.h | |
static bool ProgramCounterToHumanReadableString
(
int32 CurrentCallDepth, |
Converts the passed in program counter address to a human readable string and appends it to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static void ProgramCounterToSymbolInfo
(
uint64 ProgramCounter, |
Converts the passed in program counter address to a symbol info struct, filling in module and filename, line number and displacement. | GenericPlatform/GenericPlatformStackWalk.h | |
static void ProgramCounterToSymbolInfoEx
(
uint64 ProgramCounter, |
Same as above, but can be used with external applications since it doesn't re-initialize the active process. | GenericPlatform/GenericPlatformStackWalk.h | |
static void StackWalkAndDump
(
ANSICHAR* HumanReadableString, |
Walks the stack and appends the human readable string to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static void StackWalkAndDump
(
ANSICHAR* HumanReadableString, |
Walks the stack and appends the human readable string to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static void StackWalkAndDumpEx
(
ANSICHAR* HumanReadableString, |
Walks the stack and appends the human readable string to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static void StackWalkAndDumpEx
(
ANSICHAR* HumanReadableString, |
Walks the stack and appends the human readable string to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static bool SymbolInfoToHumanReadableString
(
const FProgramCounterSymbolInfo& SymbolInfo, |
Converts the passed in symbol information to a human readable string and appends it to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static bool SymbolInfoToHumanReadableStringEx
(
const FProgramCounterSymbolInfoEx& SymbolInfo, |
Same as above, but can be used with external applications. | GenericPlatform/GenericPlatformStackWalk.h | |
static void ThreadStackWalkAndDump
(
ANSICHAR* HumanReadableString, |
Walks the stack for the specified thread and appends the human readable string to the passed in one. | GenericPlatform/GenericPlatformStackWalk.h | |
static bool WantsDetailedCallstacksInNonMonolithicBuilds() |
Returns true if non-monolithic builds should produce full callstacks in the log (and load all debug symbols) | GenericPlatform/GenericPlatformStackWalk.h |