diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 14:12:08 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 14:12:42 -0300 |
| commit | e2fa716dcda7de877908de006adc34f0c3593693 (patch) | |
| tree | 7baa2294bd73871ca3eefc9dec6eb93bc07433fc /src/cli/show.zig | |
| parent | 02aa51a6f54235cf18e627dbbfe21f21e502eb0b (diff) | |
| download | computeranim-e2fa716dcda7de877908de006adc34f0c3593693.tar.gz computeranim-e2fa716dcda7de877908de006adc34f0c3593693.zip | |
ztrace dbg: context, everything at the moment looked at, pwndbg's way
Diffstat (limited to 'src/cli/show.zig')
| -rw-r--r-- | src/cli/show.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/show.zig b/src/cli/show.zig index 422fd9e..057b210 100644 --- a/src/cli/show.zig +++ b/src/cli/show.zig @@ -79,7 +79,7 @@ fn telescope(m: zt.store.Moment, w: *std.Io.Writer, value: u64, colour: bool) !v } } -fn state(arena: std.mem.Allocator, trace: *zt.Trace, index: u64, w: *std.Io.Writer, colour: bool) !void { +pub fn state(arena: std.mem.Allocator, trace: *zt.Trace, index: u64, w: *std.Io.Writer, colour: bool) !void { const m = try trace.moment(index); try w.print("moment {d} of {d}, {d} events so far\n", .{ index, trace.len, try m.count() }); |
