LinuxCommandLibrary

bugstalker

Rust debugger for Linux x86-64

TLDR

Debug a Rust binary
$ bs [path/to/binary]
copy
Debug with arguments
$ bs [path/to/binary] -- [arg1] [arg2]
copy

SYNOPSIS

bs [options] binary [-- args...]

DESCRIPTION

bugstalker (binary name bs) is a debugger specifically designed for Rust programs on Linux x86-64 systems. It provides a terminal user interface for debugging with Rust-aware features such as understanding Rust types, enums, and data structures natively.
The debugger supports setting breakpoints, stepping through code, inspecting variables with Rust-specific formatting, viewing backtraces, and navigating through threads. Its TUI provides a source code view alongside debug controls.

CAVEATS

Only supports Linux x86-64 targets. Requires debug symbols in the binary (compile with `cargo build` without `--release`, or with `debug = true` in the release profile). Limited to Rust and C programs — not a general-purpose debugger for all languages.

HISTORY

bugstalker was developed as a modern Rust-native debugging tool, aiming to provide a better debugging experience for Rust developers compared to using GDB or LLDB with Rust pretty-printers.

SEE ALSO

gdb(1), lldb(1), rust-gdb(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard