# bugstalker

> Rust debugger with TUI/console modes, breakpoints, watchpoints, async support, and VSCode integration via DAP

Stars: 1.4k · Categories: Dev Tools

- Repository: https://github.com/godzie44/BugStalker
- Page: https://www.trmn.sh/tools/bugstalker

## Overview

BugStalker is a debugger specifically built for debugging Rust programs on Linux x86-64 systems. It provides standard debugging capabilities including breakpoints, step-by-step execution, signal handling, and watchpoints, along with full support for multithreaded applications.

The debugger integrates deeply with Rust's type system, enabling inspection of collections, smart pointers, and thread-local variables beyond simple printing. It renders variables using Rust's core::fmt::Debug trait and supports data query expressions for runtime inspection. BugStalker includes specialized support for async Rust code, with a built-in Tokio oracle that provides runtime inspection similar to tokio_console without requiring code modifications.

Users can switch between console and TUI modes during debugging sessions. The tool supports the Debug Adapter Protocol (DAP) with both stdio and TCP modes, enabling integration with VSCode through a dedicated extension. An extensible oracle system allows for custom runtime inspection capabilities.

![BugStalker debugger demo](https://media.trmn.sh/cached/8206d32baa732759fc232cd9e77e5eb0ad417a0b3e106a7f2246c6c80c6da0b8.gif)

## Alternatives

- [flyctl](https://www.trmn.sh/tools/flyctl.md): Command-line interface for fly.io that authenticates accounts, lists apps, and checks app status; also invoked as fly. (Go, 1.7k stars)
- [tlrc](https://www.trmn.sh/tools/tlrc.md): Official tldr-pages client written in Rust that shows community-maintained command cheat sheets in the terminal, with a local cache and a TOML config. (Rust, 1.1k stars)
- [cgdb](https://www.trmn.sh/tools/cgdb.md): Console frontend for GDB that provides a split-screen interface with source code viewing and vim-style navigation (1.8k stars)
- [e1s](https://www.trmn.sh/tools/e1s.md): Terminal-based TUI for browsing and managing AWS ECS clusters, services, tasks, and containers with interactive navigation (946 stars)
- [ducker](https://www.trmn.sh/tools/ducker.md): Terminal UI for managing Docker containers, images, volumes, and networks with vim-style navigation and keyboard shortcuts (930 stars)

---

Canonical: https://www.trmn.sh/tools/bugstalker
