Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/StackTracker.h |
| Include | #include "Containers/StackTracker.h" |
Syntax
struct FStackTracker
Remarks
Stack tracker. Used to identify callstacks at any point in the codebase.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FStackTracker
(
StackTrackerUpdateFn InUpdateFn, |
Constructor, initializing all member variables |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CaptureStackTrace
(
int32 EntriesToIgnore, |
Captures the current stack and updates stack tracking information. | |
| void | DefaultDeleteUserDataFn
(
void* UserData |
||
| void | DumpStackTraces
(
int32 StackThreshold, |
Dumps capture stack trace summary to the passed in log. | |
| void | Resets stack tracking. | ||
| void | Toggles tracking. | ||
| void | ToggleTracking
(
bool bEnable, |
Toggles tracking. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCallStack | Helper structure to capture callstack addresses and stack count. |
Typedefs
| Name | Description |
|---|---|
| StackTrackerDeleteUserDataFn | Used to delete a provided userdata pointer e.g. call the correct destructor |
| StackTrackerReportFn | Used to optionally report information based on the current stack |
| StackTrackerUpdateFn | Used to optionally update the information currently stored with the callstack |
Constants
| Name | Description |
|---|---|
| MAX_BACKTRACE_DEPTH | Maximum number of backtrace depth. |