1

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.

Frank
  • 23
  • 1
  • 5

2 Answers2

0

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

Roskoto
  • 1,722
  • 1
  • 16
  • 27
0
brew install llvm

ln -s $(brew --prefix)/opt/llvm/bin/lldb-vscode $(brew --prefix)/bin/
  • Remember that Stack Overflow isn't just intended to solve the immediate problem, but also to help future readers find solutions to similar problems, which requires understanding the underlying code. This is especially important for members of our community who are beginners, and not familiar with the syntax. Given that, **can you [edit] your answer to include an explanation of what you're doing** and why you believe it is the best approach? – Jeremy Caney Aug 28 '23 at 23:01