Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: native GDB as new debug adapter #7036

Open
sleeptightAnsiC opened this issue Aug 28, 2024 · 0 comments
Open

feature request: native GDB as new debug adapter #7036

sleeptightAnsiC opened this issue Aug 28, 2024 · 0 comments

Comments

@sleeptightAnsiC
Copy link

Hi,

This is a dupe of williamboman/mason.nvim#1560 from the main plugin repo, I hope you don't mind.

As of GDB 14.0 it can be used as DAP when invoked with gdb --interpreter=dap which makes it a perfect cross platform debug adapter. It also seems to outperform any C/C++/Rust alternatives that are currently available in mason (codelldb, cpptools, etc) when it comes to startup and response times, at least on my Linux/Windows machine.

The problem with GDB is that it has no dedicated binary distribution. I was only able to find packages with GDB included/embedded as part of the package but not standalone binary which as I understand is a huge bummer because Mason relies mostly on Github releases.

Would it be ever possible to bring GDB into Mason ?

Upstream: https://www.sourceware.org/gdb/

What is GDB?
GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.

What Languages does GDB Support?
GDB supports the following languages (in alphabetical order):
Ada Assembly C C++ D Fortran Go Objective-C OpenCL Modula-2 Pascal Rust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant