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:
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) -> TComplexity. O(1).
Since. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
name | str |
k | i64 |
label | str |
v | T |
Returns
T
Effects
none declared (pure unless the body says otherwise)
Defined in: std/saga/saga.oxl:100