Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
A class for dumping a stack trace, upon encountering a specific piece of code
| Name | FNUTStackTrace |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
Syntax
class FNUTStackTrace
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNUTStackTrace
(
FString InTraceName |
Constructs the debug stack traceFNUTStackTrace | NUTUtilDebug.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNUTStackTrace() |
Destructor | NUTUtilDebug.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FStackTraceManager | friend | NUTUtilDebug.h | ||
| IgnoreDepthOffset | int32 | Additional increment for the stack trace ignore depth, as set by FScopedIncrementTraceIgnoreDepth | NUTUtilDebug.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddTrace
(
bool bLogAdd |
Adds a new trace to the stack tracker (optionally dumping to log at the same time) | NUTUtilDebug.h | |
void Disable() |
Disable stack tracking (past traces are still kept in tracking, but no new ones are added until re-enabled) | NUTUtilDebug.h | |
void Dump
(
bool bKeepTraceHistory |
Dumps accumulated stack traces | NUTUtilDebug.h | |
void Enable() |
Enable stack tracking | NUTUtilDebug.h | |
bool IsTrackingEnabled() |
Whether or not the stack tracker, is currently tracking | NUTUtilDebug.h |