-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
codelldb still doesn't load from dap... #83
Comments
This is after I updated to 643f044 |
working on a local version, I changed the code to be this, and verified that it does return a path local has_mason, mason_registry = pcall(require, 'mason-registry')
local codelldb_package = has_mason and mason_registry.has_package('codelldb') and mason_registry.get_package('codelldb') or nil
if codelldb_package ~= nil then
print(codelldb_package:get_install_path())
end it prints
but it still crashes? might be the path configuration |
It's because of a cyclic dependency between the |
Sorry for all the hiccups. I don't use mason myself, and assumed the snippets in the mason issues would work. |
Still not working.
I'd be glad to help, but I don't have much knowledge about programming plugins in lua, rustaceanvim and mason. So it's more about testing, I can provide. Maybe it would be better to revert the 'use codelldb by mason' feature for now and just keep it as a note in the readme But I think the idea (get codelldb 'autointegrated' in rustaceanvim by mason) is worth a future feature (maybe it's not a 1 day quickfix), because it would attract a lot of users by an easy entry / easy nvim debugger config for rust. |
Using excessive print statements I think I narrowed it down to this line
|
|
Yup... It's a typo (╯°□°)╯︵ ┻━┻ I'm tired 😫 |
a57bcf3 fixed it! YAY! |
That should not have taken so many iterations 😥 |
It's working. Thank you! |
Neovim version (nvim -v)
0.10.0
Operating system/version
Arch Linux x86_64
Output of :checkhealth rustaceanvim
Expected behaviour
Should be using mason's codelldb
Actual behaviour
Throws error, causing entire plugin to not load
The minimal config used to reproduce this issue.
The text was updated successfully, but these errors were encountered: