FBlueprintDebugData

Syntax

struct FBlueprintDebugData

Variables

Name Description

Protected variable

TMultiMap < TWea ...

 

DebugNodeIndexLookup

Lookup table from impure node to entry in DebugNodeLineNumbers.

Protected variable

TArray < struct ...

 

DebugNodeLineNumbers

List of debug site information for each node that ended up contributing to codegen This contains a tracepoint for each impure node after all pure antecedent logic has executed but before the impure function call It does not contain the wire tracepoint placed after the impure function call

Protected variable

TMap < int32 , TW ...

 

DebugNodesAllocatedUniqueIDsMap

Lookup table from UUID to nodes that were allocated that UUID.

Protected variable

TMap < TWeakObje ...

 

DebugObjectToPropertyMap

Map from objects to class properties they created.

Protected variable

TMap < FEdGraphP ...

 

DebugPinToPropertyMap

Map from pins or nodes to class properties they created.

Protected variable

TMap < int32 , FN ...

 

EntryPoints

List of entry points that contributed to the ubergraph.

Protected variable

TMap < TWeakObje ...

 

PerFunctionLineNumbers

Acceleration structure for execution wire highlighting at runtime.

Constructors

Name Description

Public function

FBlueprintDebugData()

Destructors

Name Description

Public function

~FBlueprintDebugData()

Functions

Name Description

Public function Const

void

 

FindAllCodeLocationsFromSourceNode

(
    UEdGraphNode * SourceNode,
    UFunction * InFunction,
    TArray < int32 >& OutNodeToCodeAsso...
)

Finds all code locations (Function+CodeOffset) associated with the source node.

Public function Const

void

 

FindAllCodeLocationsFromSourcePin

(
    UEdGraphPin const* SourcePin,
    UFunction * InFunction,
    TArray < int32 >& OutPinToCodeAssoc...
)

Finds all code locations (Function+CodeOffset) associated with the source pin.

Public function Const

void

 

FindBreakpointInjectionSites

(
    UEdGraphNode * Node,
    TArray < uint8 * >& InstallSite...
)

Finds the breakpoint injection site(s) in bytecode if any were associated with the given node.

Public function Const

UProperty &#...

 

FindClassPropertyForNode

(
    const UEdGraphNode * Node
)

Looks thru the debugging data for any class variables associated with the node (e.g., temporary variables or timelines)

Public function Const

UProperty &#...

 

FindClassPropertyForPin

(
    const UEdGraphPin * Pin
)

Looks thru the debugging data for any class variables associated with the node.

Public function Const

int32

 

FindCodeLocationFromSourcePin

(
    UEdGraphPin const* SourcePin,
    UFunction * InFunction,
    FInt32Range InRange
)

Finds the first code location (Function+CodeOffset) associated with the source pin within the given range, or INDEX_NONE if there isn't one.

Public function Const

const TArray ...

 

FindExpansionSourceNodesFromCodeLocation

(
    UFunction * Function,
    int32 CodeOffset
)

Public function Const

UEdGraphNode ...

 

FindNodeFromUUID

(
    int32 UUID
)

Returns the UEdGraphNode associated with the UUID, or nullptr if there isn't one.

Public function Const

UObject *...

 

FindObjectThatCreatedProperty

(
    UProperty * AssociatedProperty
)

Returns the object that caused the specified property to be created (can return nullptr if the association is unknown)

Public function Const

UEdGraphPin ...

 

FindPinThatCreatedProperty

(
    UProperty * AssociatedProperty
)

Returns the pin that caused the specified property to be created (can return nullptr if the association is unknown or the association is from an object instead)

Public function Const

FInt32Range

 

FindPureNodeScriptCodeRangeFromSourceNode

(
    const UEdGraphNode * SourceNode,
    UFunction * InFunction
)

Finds the pure node script code range associated with the [impure] source node, or FInt32Range(INDEX_NONE) if there is no existing association.

Public function Const

UEdGraphNode ...

 

FindSourceNodeFromCodeLocation

(
    UFunction * Function,
    int32 CodeOffset,
    bool bAllowImpreciseHit
)

Finds the UEdGraphNode associated with the code location Function+CodeOffset, or nullptr if there isn't one.

Public function Const

UEdGraphPin ...

 

FindSourcePinFromCodeLocation

(
    UFunction * Function,
    int32 CodeOffset
)

Finds the source pin associated with the code location Function+CodeOffset, or nullptr if there isn't one.

Public function

void

 

GenerateReversePropertyMap

(
    TMap < UProperty *, UObject *...
)

Public function Const

const TMap < ...

 

GetEntryPoints()

Public function Const

bool

 

IsValid()

Public function Const

bool

 

IsValidEntryPoint

(
    const int32 LinkId
)

Public function

void

 

RegisterClassPropertyAssociation

(
    UObject * TrueSourceObject,
    UProperty * AssociatedProperty
)

Registers an association between an object (pin or node typically) and an associated class member property.

Public function

void

 

RegisterClassPropertyAssociation

(
    const UEdGraphPin * TrueSourceP...,
    UProperty * AssociatedProperty
)

Public function

void

 

RegisterEntryPoint

(
    const int32 ScriptOffset,
    const FName FunctionName
)

Public function

void

 

RegisterNodeToCodeAssociation

(
    UEdGraphNode * SourceNode,
    const TArray < TWeakObjectPtr < UEdGr ...,
    UFunction * InFunction,
    int32 CodeOffset,
    bool bBreakpointSite
)

Adds a debug record for a source node and destination in the bytecode of a specified function.

Public function

void

 

RegisterPinToCodeAssociation

(
    UEdGraphPin const* SourcePin,
    UFunction * InFunction,
    int32 CodeOffset
)

Public function

void

 

RegisterPureNodeScriptCodeRange

(
    UEdGraphNode * SourceNode,
    UFunction * InFunction,
    FInt32Range InPureNodeScriptCodeRan...
)

Public function

void

 

RegisterUUIDAssociation

(
    UEdGraphNode * TrueSourceNode,
    int32 UUID
)

Registers an association between a UUID and a node.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/BlueprintGeneratedClass.h