Skip to content

ludus::runtime::behavior::DebugLocal

Ludus Wiki · API overview · Browse API

Struct

Safe local inspection. Objects remain opaque; strings contain at most 64 bytes in hex.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

#include <ludus/runtime/behavior/behavior.h>
struct ludus::runtime::behavior::DebugLocal

Fields

Name

char ludus::runtime::behavior::DebugLocal::Name[48][48] = {}
Truncated local name.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Kind

uint8 ludus::runtime::behavior::DebugLocal::Kind = 0
Nil, boolean, number, string bytes, opaque, nonfinite (0..5).

Related types: uint8

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Number

float64 ludus::runtime::behavior::DebugLocal::Number = 0
Finite numeric value when Kind is 2.

Related types: float64

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Boolean

bool ludus::runtime::behavior::DebugLocal::Boolean = false
Boolean value when Kind is 1.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Bytes

char ludus::runtime::behavior::DebugLocal::Bytes[129][129] = {}
Hex string bytes when Kind is 3; no getters are invoked.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h

Truncated

bool ludus::runtime::behavior::DebugLocal::Truncated = false
Value exceeded its copied budget.

Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h