Viv JavaScript Runtime - v0.10.2
    Preparing search index...

    Interface WatchedConstructDebuggingState

    Debugging information for a watched construct, capturing information about attempts to target it.

    This information can be used to investigate why a construct has not been successfully targeted, especially if this is due to something like a mistyped condition.

    interface WatchedConstructDebuggingState {
        backtrackingReasons: Record<RoleName, BacktrackingReasonCounts>;
        castingAttempts: Record<RoleName, number>;
        conditionTestResults: Record<string, ConditionResultCounts>;
        targetingAttempts: number;
    }
    Index

    Properties

    backtrackingReasons: Record<RoleName, BacktrackingReasonCounts>

    A mapping from role name to counts for each of the possible backtracking reasons, where the counts apply to attempts to cast this role during the debugging window.

    castingAttempts: Record<RoleName, number>

    A mapping from role name to the number of attempts to cast that role during the debugging window.

    conditionTestResults: Record<string, ConditionResultCounts>

    An object recording for a given condition its number of successes and failures (across tests of the condition).

    targetingAttempts: number

    The number of times this construct was targeted during the debugging window.