2025-05-06 09:58:00
github.com
A debugger for Linux. Partially inspired by RemedyBG.
Mom, can we have RAD Debugger on Linux?
No, we have a debugger at home.
Debugger at home:
Properties:
- Fast.
- TUI.
- Not based on gdb or lldb, implemented mostly from scratch.
- Works on large executables. (Tested mostly on 2.5 GB ClickHouse.)
What we mean by “fast”:
- Operations that can be instantaneous should be instantaneous. I.e. snappy UI, no random freezes, no long waits.
(Known exception: if the program has >~2k threads things become pretty slow. This will be improved.) - Operations that can’t be instantaneous (loading debug info, searching for functions and types) should be reasonably efficient, multi-threaded, asynchronous, cancellable, and have progress bars.
Limitations:
- Linux only
- x86 only
- 64-bit only
- for native code only (e.g. C++ or Rust, not Java or Python)
- TUI only (no REPL, no GUI)
- no remote debugging (but works fine over ssh)
- single process (doesn’t follow forks)
- no record/replay or backwards stepping
Development status:
- Essential features are there. But different people consider different features essential, and probably many of them are not implemented. Let me know.
- I use it every day and find it very helpful.
- Not widely tested – I only tried it on a few machines and a few real executables.
Distributed as a single 6 MB executable file with no dependencies.
“Installation”:
curl -L -o nnd 'https://github.com/al13n321/nnd/releases/latest/download/nnd'
chmod +x nnd
# try `./nnd --help` to get started
Or build from source:
# Prerequisites:
# 1. Install Rust.
# 2. Install musl target:
rustup target add x86_64-unknown-linux-musl
# 3. Install musl-tools
sudo apt install musl-tools
# Build:
cargo build --profile dbgo --bin nnd
# The executable is at target/x86_64-unknown-linux-musl/dbgo/nnd
Run nnd --help
for documentation.
Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.
Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!
Help Power Techcratic’s Future – Scan To Support
If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.
As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!
BITCOIN bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge Scan the QR code with your crypto wallet app |
DOGECOIN D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA Scan the QR code with your crypto wallet app |
ETHEREUM 0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a Scan the QR code with your crypto wallet app |
Please read the Privacy and Security Disclaimer on how Techcratic handles your support.
Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.