DebugVariable (Class)¶
A variable decoded from the script engine's stacks at a failure site, presented in source-level terms.
display
property
¶
The value formatted for display, following the type (e.g. bytes are
hex-encoded, State values render as objects).
origin
property
¶
Where the variable comes from: local, arg, state (contract
field), ctor (constructor argument), or const.
value
property
¶
The decoded value as a native Python object (int, bool, bytes,
str, list, or dict). None if the value could not be decoded.