Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
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
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddRunaway () |
Increments Runaway counter | |
| void | EnterScriptContext
(
const UObject* ContextObject, |
Called at start of a script function execution | |
| void | Called at start of a script function execution | ||
| FBlueprintContextTracker & | Get () |
||
| TArrayView< const FFrame *const > | Returns current script stack frame | ||
| TArrayView< FFrame *const > | |||
| int32 | Returns how many function executions deep we are, may be higher than ScriptStack size | ||
| bool | RecordAccessViolation
(
const UObject* Object |
Record an access violation warning for a specific object, returns true if warning should be logged | |
| void | ResetRunaway () |
Resets runaway tracking, will unset flag | |
| const FBlueprintContextTracker * | 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
| Name | Description |
|---|---|
| OnEnterScriptContext | |
| OnExitScriptContext |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< const FFrame * > | GetScriptStack() inefficiently copies the array to return and is now deprecated. Use GetCurrentScriptStack() which returns a TArrayView instead |