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