Skip to content

Conversation

@cammarosano
Copy link
Collaborator

@cammarosano cammarosano commented Nov 7, 2025

While still not par with window's cppvsdbg, rust-gdb has some advantages over lldb, specially when inspecting an enum type.

Make sure you have the ms-vscode.cpptools extension installed in order to test it.

@cammarosano cammarosano force-pushed the alpha-gdb_debug_configs-rcdl branch from 1a52215 to b81e0e9 Compare November 7, 2025 12:26
"cwd": "${workspaceFolder}/server",
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/rust-gdb",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me rust-gdb was not installd under /usr/bin/rust-gdb but rather under ~/.cargo/bin/rust-gdb.
Regardless setting it to "miDebuggerPath": "rust-gdb", worked for me as rust-gdb is in PATH

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it should be on the PATH.
I've updated it to "miDebuggerPath": "rust-gdb"

@cammarosano cammarosano force-pushed the alpha-gdb_debug_configs-rcdl branch from b81e0e9 to 726de63 Compare November 21, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants