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

question: Solution for codelldb conditional on macOS? #9

Open
i-ilak opened this issue Jan 14, 2025 · 1 comment
Open

question: Solution for codelldb conditional on macOS? #9

i-ilak opened this issue Jan 14, 2025 · 1 comment

Comments

@i-ilak
Copy link

i-ilak commented Jan 14, 2025

I've been looking into your config and mirroring some parts for my own. I just came across this piece recently. It seems that you are only installing codelldb if you are on a linux system, but not on macOS.

The extension itself seems to exist also for darwin-aarch64, but when I tried building it I ran into some crash regarding lldb-14.0.6 and libcxx-19.1.5.

Do you know of a way to get a codelldb running on macOS, i.e. maybe from the binary releases on GitHub? Or in general, a sane way to get a dap.server correctly configured through nixvim on macOS.

P.S. I have to say the more I look into this dap business with lldb the more confused I get... Apparently lldb-vscode was recently renamed to lldb-dap, which is not (?) the same as codelldb or lldb-server... They sure couldn't have chosen any worse names...

@khaneliman
Copy link
Owner

Sorry, haven't really looked at my debug config in a while. I need to refine it more again. Just started trying to test out enabling it on my mac again and ran into the same build failure which was reported NixOS/nixpkgs#373400 and has current PR to try and fix it up.

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