-
Notifications
You must be signed in to change notification settings - Fork 100
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
Unable to load LLDB with LLNODE plugin #430
Comments
I have the same issue with the plugin on my MacBook Pro M1.
|
I also ran across this issue and was able to resolve it @rvypandey and @gmarcz The problem is that the install script attempts to download headers for the lldb version that is found on the system but the headers do not appear to match the binary that is included on M1 macs and the I was able to resolve this by installing llvm via homebrew and ensuring it was found on the Here are the commands I used to get things installed successfully. $ brew install llvm
$ echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc
$ # note that its before recopying PATH to make sure it resolves
$ zsh ~/.zshrc
$ which llvm-config Double check with Once $ npm i -g llnode
$ llnode
(lldb) plugin load '/Users/matthewkeil/.nvm/versions/node/v20.5.1/lib/node_modules/llnode/llnode.dylib'
(lldb) settings set prompt '(llnode) '
(llnode) |
Describe the bug
When initiating LLDB with LLNODE plugin, it fails
To reproduce
Steps to reproduce the behavior:
Initiated LLDB
Ran command 'plugin load /usr/local/lib/node_modules/llnode/llnode.dylib'
errored - error: this file does not represent a loadable dylib
Expected behavior
LLDB should load LLNODE plugin
Console output
Local environment (please complete the following information):
Version of llnode - 4.0.0
(Obtained using
npm view llnode version
)OS Info: Darwin Ravis-MacBook-Pro.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64 x86_64
(Obtained using
uname -a
)lldb Version - lldb-1403.0.17.64
(Obtained using
lldb --version
)Version of node.js - v12.3.1
(Obtained using
node --version
)Additional context
I have tried different versions of node, but none worked (16.13.1, 20.x.x etc)
Also, I have installed lldb using XCode installation (Apple Store), version -
Xcode 14.3, Build version 14E222b
The text was updated successfully, but these errors were encountered: