adding basic debug lldb config for vscode codelldb extension#55
Merged
yoshuawuyts merged 2 commits intobytecodealliance:mainfrom Mar 13, 2025
Merged
adding basic debug lldb config for vscode codelldb extension#55yoshuawuyts merged 2 commits intobytecodealliance:mainfrom
yoshuawuyts merged 2 commits intobytecodealliance:mainfrom
Conversation
Contributor
Author
|
@yoshuawuyts was going to submit the other configs as separate prs, but I could push them into this one if you like it. |
Contributor
Author
|
OK @yoshuawuyts, I've added in GDB configs and make each debugger launch a build task prior to debugging. They both work here; however, I've discovered that GDB in vscode takes an absolute path to the program, which means that the username in linux and/or the Windows pathing can't be "genericized" and needs to be manually changed for the OS/person. I have a query out to the vscode team to see whether there's a magic string I can invoke to genericized it properly. |
yoshuawuyts
approved these changes
Mar 13, 2025
Member
yoshuawuyts
left a comment
There was a problem hiding this comment.
This is great, thank you so much!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an initial debug configuration using the CodeLLDB extension in VSCode, but it should work for the builtin rust lldb debugger. I'll add a build task and a GDB configuration as well.