microsoft / microsoft/vscode-cpptools
Multiple Matches for a symbol in GDB
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Environment
- OS and version: Windows 10 22H2
- VS Code: 1.85.2
- C/C++ extension: 1.3.0
- OS and version of remote machine (if applicable): Ubuntu 20.04
- GDB / LLDB version: GDB 9.2
Bug Summary and Steps to Reproduce
Bug Summary: When trying to inspect an array for some ada code vscode cppdbg ui locks up and in the "DEBUG CONSOLE" I see "Multiple matches for ..." and I am presented with choices. However I am not able to select any choice using the console or clicking on it. If I use gdb on the command line directly then I can respond with the a selection.
Steps to reproduce:
- In this environment...
- With this config...
- Do '...'
- See error...
Debugger Configurations
{
"name": "pipe transport foo",
"type": "cppdbg",
"request": "launch",
"targetArchitecture": "arm64",
"program": "${config:REMOTE_BIN_PATH}",
"stopAtEntry": true,
"cwd": "${config:REMOTE_BIN_DIR}",
"environment": [],
"externalConsole": true,
"pipeTransport": {
"pipeCwd": "C:\\cygwin64\\bin",
"pipeProgram": "C:\\cygwin64\\bin\\ssh",
"pipeArgs": [
"-i",
"${config:REMOTE_ID_FILE}",
"${config:REMOTE_USERNAME}@${config:REMOTE_IP}",
],
"debuggerPath": "/usr/bin/gdb",
},
"MIMode": "gdb",
"logging": { "engineLogging": true, "trace": true, "traceResponse": true }
},
Debugger Logs
N.A, just need a way to select the right menu choice while in VSCode.
Other Extensions
No response
Additional Information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with VS Code 1.85.2, C/C++ extension 1.3.0, GDB 9.2, and the supplied pipeTransport configuration. Exercise the DEBUG CONSOLE while GDB reports multiple matches and compare it with command-line GDB; done means a user can select a match without the VS Code UI locking up.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100