nvim-dap VS nvim-gdb

Compare nvim-dap vs nvim-gdb and see what are their differences.

nvim-dap

Debug Adapter Protocol client implementation for Neovim (by mfussenegger)

nvim-gdb

Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB (by sakhnik)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
nvim-dap nvim-gdb
137 6
4,739 670
- -
7.9 9.2
4 days ago 6 months ago
Lua Lua
GNU General Public License v3.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nvim-dap

Posts with mentions or reviews of nvim-dap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.

nvim-gdb

Posts with mentions or reviews of nvim-gdb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-23.
  • Debugging in neovim
    3 projects | /r/neovim | 23 Sep 2022
    Maybe https://github.com/sakhnik/nvim-gdb (bashdb uses gdb like commands) I've mostly used llvm debugger and node debugger so I am not too familiar with gdb.
  • I must be missing something
    21 projects | /r/neovim | 3 Sep 2022
    nvim-gdb: GDB wrapper, simple and easy to hack.
  • Create visual interface for breakpoints
    2 projects | /r/vim | 19 Aug 2022
    Recently I am using nvim-gdb, which is inspired by neovim-gdb.vim script. I am wondering whether it is possible to have the same visual interface in terms of current line running as well as the breakpoint mark similar to the above two project but not connect to the debug?
  • Debugging in Neovim
    5 projects | /r/neovim | 18 Jul 2022
    There's the plugin that evolved from the original neovim debugger: sakhnik/nvim-gdb. Well tested and maintained. Spoiler: personal affiliation.
  • Debugger plugins
    3 projects | /r/neovim | 19 Mar 2021
    sakhnik/nvim-gdb This one also looks like a nice debugger plugin; also neovim only.
  • GDB TUI mode
    5 projects | /r/cpp | 27 Feb 2021
    https://www.dannyadam.com/blog/2019/05/debugging-in-vim/ describes it well. https://github.com/sakhnik/nvim-gdb is nicer, but requires neovim.

What are some alternatives?

When comparing nvim-dap and nvim-gdb you can also consider the following projects:

vimspector - vimspector - A multi-language debugging system for Vim

LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.

gdb-dashboard - Modular visual interface for GDB in Python

nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

CodeLLDB - A native debugger extension for VSCode based on LLDB

gdb-frontend - ☕ GDBFrontend is an easy, flexible and extensible gui debugger. Try it on https://debugme.dev

vscode-cpptools - Official repository for the Microsoft C/C++ extension for VS Code.

cpplinks - A categorized list of C++ resources.

my-lunarvim-config - My config for LunarVim