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

Request: "attach" templates for dap-gdb-lldb #128

Open
twadleigh opened this issue Oct 3, 2019 · 1 comment
Open

Request: "attach" templates for dap-gdb-lldb #128

twadleigh opened this issue Oct 3, 2019 · 1 comment

Comments

@twadleigh
Copy link

twadleigh commented Oct 3, 2019

I spent some time trying to hack up something to this effect in the context of the spacemacs lsp/dap/c-c++ layers, but haven't yet been successful.

@moritzschaefer
Copy link
Contributor

In gitter, something like this has been suggested:

(dap-register-debug-template "GDB::Calc"
  (list :type "gdb"
        :request "attach"
        :name "GDB::Run"
        :executable "/home/compro/Dropbox/programs/c++/advCalc/build/src/calc"
        :target 18669
        :cwd nil))

https://gitter.im/emacs-lsp/lsp-mode?at=5d0a514ebc56c731f8f73867

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

2 participants