Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
Include |
#include "NUTUtilDebug.h" |
class FNUTStackTrace
A class for dumping a stack trace, upon encountering a specific piece of code
Name | Description | ||
---|---|---|---|
|
TraceName |
The human-readable name to provide for this stack trace |
|
|
Tracker |
The stack tracker associated with this debug trace |
Name | Description | |
---|---|---|
|
FNUTStackTrace ( |
Constructs the debug stack trace |
Name | Description | |
---|---|---|
|
~FNUTStackTrace() |
Destructor |
Name | Description | ||
---|---|---|---|
|
AddTrace ( |
Adds a new trace to the stack tracker (optionally dumping to log at the same time) |
|
|
Disable() |
Disable stack tracking (past traces are still kept in tracking, but no new ones are added until re-enabled) |
|
|
Dump ( |
Dumps accumulated stack traces |
|
|
Enable() |
Enable stack tracking |
|
|
IsTrackingEnabled() |
Whether or not the stack tracker, is currently tracking |