microsoft / microsoft/vscode-cpptools
Multiple Matches for a symbol in GDB
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.2k
- Forks
- 1.7k
- Ø Merge
- 14 Std. 46 Min.
- Gemergte PRs (30 T.)
- 61
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem mit VS Code 1.85.2, der C/C++ extension 1.3.0, GDB 9.2 und der bereitgestellten pipeTransport-Konfiguration zu reproduzieren. Verwende die DEBUG CONSOLE, während GDB mehrere Treffer meldet, und vergleiche sie mit GDB über die Kommandozeile; abgeschlossen ist die Aufgabe, wenn ein Benutzer einen Treffer auswählen kann, ohne dass die VS Code-Benutzeroberfläche einfriert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 15/100