How to install codelldb cli on Apple Silicon

1.1k Views Asked by At

I want to be able to debug C and Rust Code in the Helix Editor. According to its documentation, I need the lldb of VSCode, codelldb.

Any other DAP that works is fine for me.

I am using a MacBook Pro 2022 with the M2 Processor (arm64)

vscode-lldb GitHub Repository

CodeLLDB VSCode Extension

Couldn't find it on homebrew or macports.

I tried to build the v1.8.1 tag from source but got compile errors.

I think I am doing something fundamentally wrong.

2

There are 2 best solutions below

0
Roskoto On BEST ANSWER

github release just extract the file as zip and find the executable binary in there: /extension/adapter/*

place is somewhere in the path so helix could find it

1
Dmytro Horskyi On
brew install llvm

ln -s $(brew --prefix)/opt/llvm/bin/lldb-vscode $(brew --prefix)/bin/