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

dap-lldb: depends on deprecated vscode extension #799

Open
lsp-ableton opened this issue Jul 12, 2024 · 1 comment
Open

dap-lldb: depends on deprecated vscode extension #799

lsp-ableton opened this issue Jul 12, 2024 · 1 comment

Comments

@lsp-ableton
Copy link

lsp-ableton commented Jul 12, 2024

The vscode extension has been renamed from lldb-vscode to lldb-dap. Thus dap-lldb-debug-program will no longer point to the right extension.

I tried changing everything to point to the new extension, but it doesn't work, and I can't figure out why so far. The new lldb-dap extension no longer contains a binary AFAICT, so installed it with brew install llvm, and I point dap-mode to /opt/homebrew/opt/llvm/bin/lldb-dap. I can successfuly start it from the command line.

The error is wrong type argument: stringp, nil to make-process in dap--create-session (this is on Emacs 29.1).

If I remove the :stderr argument to make-process, the wrong argument type error no longer happens, but I'm not sure why. Then there is another error in dap--send-message

Output file descriptor of LLDB::Debug is closed

The status of the process at that point is run

@vibrys
Copy link

vibrys commented Jul 22, 2024

did you try to customize dap-lldb-debug-program to point to lldb-dap?

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