← Standard library

Debugger

static class Debugger
import Debugger from Wax;

Low-level heap identity inspection and recording-query context checks. Prefer typed StableRef for recording identities. Object lookup scans the live heap and should not be used as a per-frame object index.

Debugger.wax:12

Inherits from object. Follow these links for inherited members.

Members

GetObjectmethod

public static fn GetObject(uint64 stableId) : object?

Finds the live object with the supplied stable identity. Returns null for zero, missing, collected, or finalizing/finalized objects. Cost is linear in live objects and nursery allocations.

Debugger.wax:35

IsQueryLocalmethod

public static fn IsQueryLocal(uint64 stableId) : bool

Tests whether the active query allocated this identity rather than observing it in the recording. Returns false outside a query.

Debugger.wax:50

IsQueryActivemethod

public static fn IsQueryActive() : bool

Tests whether the runtime is currently executing a recording query invocation.

Debugger.wax:68