Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
Include | #include "NUTUtilDebug.h" |
Syntax
class FNUTStackTrace
Remarks
A class for dumping a stack trace, upon encountering a specific piece of code
Variables
Type | Name | Description | |
---|---|---|---|
FString | TraceName | The human-readable name to provide for this stack trace | |
FStackTracker | Tracker | The stack tracker associated with this debug trace |
Constructors
Type | Name | Description | |
---|---|---|---|
FNUTStackTrace
(
FString InTraceName |
Constructs the debug stack traceFNUTStackTrace |
Destructors
Type | Name | Description | |
---|---|---|---|
Destructor |
Functions
Type | Name | Description | |
---|---|---|---|
void | AddTrace
(
bool bLogAdd |
Adds a new trace to the stack tracker (optionally dumping to log at the same time) | |
void | Disable () |
Disable stack tracking (past traces are still kept in tracking, but no new ones are added until re-enabled) | |
void | Dump
(
bool bKeepTraceHistory |
Dumps accumulated stack traces | |
void | Enable () |
Enable stack tracking | |
bool | Whether or not the stack tracker, is currently tracking |