FStackTraceManager::AddTrace

Adds a new stack trace, to the specified trace, optionally logging/dumping in the process

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h

Include

#include "NUTUtilDebug.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtilDebug.cpp

Syntax

void AddTrace
(
    FString TraceName,
    bool bLogAdd,
    bool bDump,
    bool bStartDisabled
)

Remarks

Adds a new stack trace, to the specified trace, optionally logging/dumping in the process

Parameters

Parameter

Description

TraceName

The name of the trace

bDump

Whether or not to dump the trace as well (does not remove trace from tracking, unlike 'Dump' function)

bStartDisabled

Whether or not this trace should start as disabled, until 'Enable' is called for it

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss