Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformStackWalk
Warnings The code assumes that HumanReadableString is large enough to contain the information. Please, do not override this method. Can't be modified or altered without notice.
Description
- Converts the passed in symbol information to a human readable string and appends it to the passed in one.
-
The code assumes that HumanReadableString is large enough to contain the information.
-
Please, do not override this method. Can't be modified or altered without notice. This method is the same for all platforms to simplify parsing by the crash processor.
Example formatted line:
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() (0xddf1bae5) + 620 bytes [\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:110] ModuleName!FunctionName (ProgramCounter) + offset bytes [StrippedFilepath:LineNumber]
| Name | SymbolInfoToHumanReadableString |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformStackWalk.h |
| Include Path | #include "GenericPlatform/GenericPlatformStackWalk.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformStackWalk.cpp |
static bool SymbolInfoToHumanReadableString
(
const FProgramCounterSymbolInfo & SymbolInfo,
ANSICHAR * HumanReadableString,
SIZE_T HumanReadableStringSize
)
true if the symbol was found, otherwise false
Parameters
| Name | Remarks |
|---|---|
| SymbolInfo | Symbol information |
| HumanReadableString | String to concatenate information with |
| HumanReadableStringSize | size of string in characters |
| Context | Pointer to crash context, if any |