diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 11:43:24 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 11:58:53 -0300 |
| commit | 3fdb67c479dcc1ad0f1e51832bc086622692249c (patch) | |
| tree | dcc2e947644cb6d9a8bb0a19a29153256f4bc951 /src/trace/event.zig | |
| parent | f15f4670991110829dcf123625c049224eba9838 (diff) | |
| download | computeranim-3fdb67c479dcc1ad0f1e51832bc086622692249c.tar.gz computeranim-3fdb67c479dcc1ad0f1e51832bc086622692249c.zip | |
debugger: steps by instruction and line, breakpoints, hooks, watches, threads; ztrace dbg
ptrace.zig follows the threads a target makes, attaches, tells a step from
a breakpoint, and writes memory in one call (through /proc/pid/mem where
the page is read-only). Debugger.zig is the layer above: cont, stepi, step
(a source line, through std.debug's DWARF), breakpoints with hooks, syscall
stops and hooks with the path or buffer captured, watched regions sent as
the words that changed, and every stop an event. Symbols.zig is modules,
ELF symbols and line tables; syscalls.zig their names and shapes.
ztrace dbg is a small REPL on it that records as it goes and looks back
into the recording; ztrace record stops by instruction, line, syscall or
breakpoint, prints syscalls as strace does, and ends cleanly when the
recording is full.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'src/trace/event.zig')
0 files changed, 0 insertions, 0 deletions
