-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
feat(pack): switch to codelldb for rust debugging #106
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! One comment that needs to be fixed first
Just out of stylistic preference I would say that local package_path = require("mason-registry").get_package("codelldb"):get_install_path() Is "better practice" than accessing the actual index. Not sure if anyone else has any thoughts on this. (@mehalter ??) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small Change regarding the mason API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Co-authored-by: Micah Halter <[email protected]>
Co-authored-by: Oli <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Thanks for this!
Github actions are currently down so I'm just going to merge this anyway. |
How should this work on windows? - do we want or
for liblldb_path |
I believe you would want |
it does support windows - I use it on windows |
* feat!: switch to codelldb for rust debugging * fix: use mason's API for installation path * fix: cleaner use of the mason api Co-authored-by: Micah Halter <[email protected]> * refactor: clean up code a bit Co-authored-by: Oli <[email protected]> --------- Co-authored-by: Micah Halter <[email protected]> Co-authored-by: Oli <[email protected]>
Sets up rust-tools to debug with codelldb from Mason instead of lldb-vscode from the system.
Closes #84.