OxL Reference

fn dbg

Step k (0-based) of the saga / pipeline name starts: the debugger's step name#k+1 breakpoints (III.5, D-6952); the value passes through.

Example:

oxl✓ checked in CI
use std.saga

fn main() io {
  print("{saga.dbg("pay", 0, "hold", 41) + 1}")
}
Output
42
pub(api) fn dbg<T>(name: str, k: i64, label: str, v: T) -> T

Complexity. O(1).

Since. 1.0.0-beta

Parameters

NameType
namestr
ki64
labelstr
vT

Returns

T

Effects

none declared (pure unless the body says otherwise)

Defined in: std/saga/saga.oxl:100

See also