FBlueprintContextTracker

Helper struct for dealing with tracking blueprint context and exceptions

Windows
MacOS
Linux

Inheritance Hierarchy

FTlsAutoCleanup

TThreadSingleton

FBlueprintContextTracker

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/Script.h

Include

#include "UObject/Script.h"

Syntax

struct FBlueprintContextTracker : public TThreadSingleton< FBlueprintContextTracker >

Remarks

Helper struct for dealing with tracking blueprint context and exceptions

Constructors

Name Description

Public function

FBlueprintContextTracker()

Functions

Name Description

Public function

void

 

AddRunaway()

Increments Runaway counter

Public function

void

 

EnterScriptContext

(
    const UObject* ContextObject,
    const UFunction* ContextFuncti...
)

Called at start of a script function execution

Public function

void

 

ExitScriptContext()

Called at start of a script function execution

Public function Static

FBlueprintCo...

 

Get()

Public function Const

int32

 

GetScriptEntryTag()

Returns how many function executions deep we are, may be higher than ScriptStack size

Public function Const

const TArray...

 

GetScriptStack()

Returns current script stack frame

Public function

bool

 

RecordAccessViolation

(
    const UObject* Object
)

Record an access violation warning for a specific object, returns true if warning should be logged

Public function

void

 

ResetRunaway()

Resets runaway tracking, will unset flag

Public function Static

const FBluep...

 

TryGet()

Typedefs

Name

Description

FOnEnterScriptContext

Delegate called from EnterScriptContext, could be called on any thread! This can be used to detect entries into script from native code

FOnExitScriptContext

Delegate called from ExitScriptContext, could be called on any thread! This can be used to clean up debugging context

Constants

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