microsoft / microsoft/vscode-cpptools
VSCode opens different file with the same name while debugging
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
Bug type: Debugger
Describe the bug
- OS and Version: Amazon Linux 2
- VS Code Version: 1.61.2
- C/C++ Extension Version: 1.7.1
- Other extensions you installed (and if the issue persists after disabling them): yes
- A clear and concise description of what the bug is.
To Reproduce
- Debugging the open source mysql code in Amazon linux. I set the breakpoint on the file sql/dd/upgrade_57/table.cc and launch the mysqld to debug.
- The debugger hits in the different file with same name present at different location that is sql/table.cc . It hits the same line number though in that file. As you can see from the attache screenshots.
Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Attached the filtered log -
filtered.txt
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 mit dem angehängten filtered.txt-Log und reproduziere das Debuggen des MySQL-Quellcodes mit einem Haltepunkt in sql/dd/upgrade_57/table.cc. Vergleiche, wie der Debugger diesen Pfad mit sql/table.cc auflöst, das denselben Dateinamen hat. Erledigt ist es, wenn der Haltepunkt geöffnet wird und dem ausgewählten Quelldatei zugeordnet bleibt statt der anderen gleichnamigen Datei.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, typescript, vscode
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100