Skip to content

v0.4.0: tracexec can now be used as a debugger launcher!

Compare
Choose a tag to compare
@github-actions github-actions released this 26 May 13:53
· 31 commits to main since this release

I am very excited to share that tracexec can now be used as a debugger launcher.

It's usually not trivial or convenient to debug a program executed by a shell/python script(which can use pipes as stdio for the program).
The following video shows how to use tracexec to launch gdb to debug two simple programs piped together by a shell script.

gdb-launcher.mp4

Solves:

To learn more about it, read the gdb-launcher example.

Changes since v0.3.1:

Added

  • Breakpoints.
    • The breakpoints can be set in CLI(--add-breakpoint/-b) and TUI.
  • Managing breakpoint hits.
    • in CLI: option --default-external-command
    • in TUI: Hit Manager
    • Detach, Resume, or Detach, stop and run external command
  • --tracer-delay option for setting the polling delay of the tracer, in microseconds. The default is 500 when seccomp-bpf is enabled, otherwise 1.

Changed

  • Docs: make the description of --seccomp-bpf more clear