Skip to content

GDB doesn't include 'dap' (debug adapter protocol) interpreter #197

Description

@JamesC01

I'm trying to set up a debug adapter in neovim with gdb from w64devkit, and it requires GDB to have the 'dap' interpreter. I searched and it seems that for gdb to support it, it needs to be built with python support:

dap
When GDB has been built with Python support, it also supports the Debugger Adapter Protocol. This protocol can be used by a debugger GUI or an IDE to communicate with GDB. This protocol is documented at https://microsoft.github.io/debug-adapter-protocol/. See Debugger Adapter Protocol, for information about GDB extensions to the protocol.

Having it there allows you to debug code within different editors as a frontend to gdb.

Would you consider building gdb with python support by default to fix this? It would be useful for people wanting to use frontend's for GDB on windows. I understand if you don't want to, though, since mingw is much more focused on C/C++ rather than python, and maybe it bloats the installation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions