Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
Include |
#include "NUTUtilDebug.h" |
class FNUTStackTrace
When you continue implementing this, as a part of the ProcessEvent stack trace feature below, merge this class with the very similar 'FProcessEventHook' class in NUTUtilNet.h, then make the stack trace hook use that.
Reimplement this, by refactoring the above commented class, when this debug feature is next needed 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 |