Table of Contents

Namespace LunyScript.Diagnostics

Classes

ScriptBlockMetrics

Performance metrics for a single block (sequence or individual block). Tracks execution time statistics and error counts.

ScriptBlockProfiler

Concrete implementation of block-level profiling for LunyScript execution. Tracks execution time for each sequence/block with configurable rolling average. Public methods use [Conditional] attributes - completely stripped in release builds unless DEBUG or LUNYSCRIPT_DEBUG defined.

ScriptBlockProfilerSnapshot

Immutable snapshot of block profiler state at a specific point in time. Useful for querying performance metrics without blocking the profiler.

ScriptDebugHooks

Debugging hooks for execution tracing and breakpoints. Events and tracing are only invoked when DEBUG or LUNYSCRIPT_DEBUG is defined.

Structs

ScriptExecutionTrace

Captures execution information for a single block execution. Used by debug hooks to track execution flow with frame/time information.