Show HN:BugStalker——一款现代化的Rust调试器
Show HN: BugStalker - a modern Rust debugger

原始链接: https://github.com/godzie44/BugStalker

Konstantin Derevtsov 开发的这款原生 Rust 调试器,专为 Linux x86-64 架构下的 Rust 程序提供全面的调试功能。它完全使用 Rust 编写,注重简洁性,同时提供强大的功能,包括断点、单步执行、信号和观察点处理以及对多线程应用程序的完全支持。 该调试器擅长运行时检查,可以使用数据查询表达式,并深度集成 Rust 类型系统,能够交互式地呈现复杂的数据结构,例如集合和智能指针,利用 `core::fmt::Debug` trait 进行渲染。 该调试器提供灵活的控制台和 TUI 模式,支持异步 Rust(包括 Tokio 运行时检查),并具有可扩展的架构和 Oracle 扩展机制。其内置的 Tokio Oracle 可以简化 Tokio 运行时分析,无需修改代码。 该项目采用 MIT 许可证,欢迎贡献建议、提问和功能实现。

Hacker News 展示:BugStalker——一款现代化的 Rust 调试器。这款用 Rust 编写的调试器面向 Linux x86-64 架构,其功能专门为 Rust 程序(特别是异步代码)而设计。主要特性包括异步回溯检查、任务细节查看、异步单步控制、增强的变量检查,以及用于执行函数的 `call` 命令和用于断点控制的 `trigger` 命令。 用户对此表示出极大的热情,尤其称赞其改善通常具有挑战性的 Rust 调试体验的潜力。功能需求主要集中在通过机器接口(例如 GDB/MI)与代码编辑器的集成以及 DAP 支持,以及支持用于嵌入式目标的 JTAG/SWD 调试探针。一位用户询问了 macOS 兼容性,开发者回应说这可行,但架构将是主要挑战。一些用户也对名称表示担忧,建议使用 BugStomper 作为替代名称。
相关文章

原文


Modern debugger for Linux x86-64. Written in Rust for Rust programs.



debugger-demo


  • Rust-native: Built in Rust specifically for Rust development, with a focus on simplicity
  • Core debugging capabilities:
    • Breakpoints, step-by-step execution
    • Signal handling
    • Watchpoints
  • Advanced runtime inspection:
    • Full multithreaded application support
    • Data query expressions
    • Deep Rust type system integration (collections, smart pointers, thread locals, etc.), not only for printing but also for interaction
    • Variable rendering using core::fmt::Debug trait
  • Flexible interfaces:
    • Switch between console and TUI modes at any time
  • Async Rust support including Tokio runtime inspection
  • Extensible architecture:
    • Oracle extension mechanism
    • Built-in tokio oracle (similar to tokio_console but requires no code modifications)
  • And many more powerful features!

See installation page

Feel free to suggest changes, ask a question or implement a new feature. Any contributions are very welcome.

How to contribute.

© 2025 Derevtsov Konstantin. Distributed under the MIT License.

联系我们 contact @ memedata.com