diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 16:03:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 16:05:20 -0300 |
| commit | 66a2a7cf733f6abc1f79561c52d901ce67019fb1 (patch) | |
| tree | b261d533887b37fb5287ad384d4f845348b35d81 /src/cli/dbg.zig | |
| parent | e0c4bfcc0395a561804e33942028c519f4e267f7 (diff) | |
| download | computeranim-66a2a7cf733f6abc1f79561c52d901ce67019fb1.tar.gz computeranim-66a2a7cf733f6abc1f79561c52d901ce67019fb1.zip | |
trace: what the context draws is in the recording; SQLite on the ladder
An instruction's string carries its source line and, for a direct call,
how many parameters the callee takes (DWARF); telescope.frames gives each
frame's extent on the stack; with --alloc the debugger watches each live
allocation and the allocator's header before it, changes only, 256 KiB a
stop at most. C++ names are shown and found as the source has them (the
command links the C++ runtime for its demangler).
SQLite 3.50.4 through every backend, measured (README, bench/sqlite.sh).
It found two faults: a file compiled by its full path was recorded under
a path joined onto the compile directory, and ztrace run noticed a
target's exit up to 10 ms late.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'src/cli/dbg.zig')
| -rw-r--r-- | src/cli/dbg.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli/dbg.zig b/src/cli/dbg.zig index 22923be..5fcf88e 100644 --- a/src/cli/dbg.zig +++ b/src/cli/dbg.zig @@ -87,6 +87,7 @@ pub fn run(init: std.process.Init, args: []const [:0]const u8) !void { defer s.d.deinit(); if (produced) |p| s.d.ring = p.ring; s.d.disasm = disasm.one; + s.d.syms.demangle = util.demangle; s.d.telescope = 3; defer s.stop_payload.deinit(init.gpa); s.d.stack_watch = stack_bytes; |
