microsoft / microsoft/vscode-cpptools
`Show source code in disassembly view` not work
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 & Disassembly
Describe the bug
- OS and Version: Linux (Ubuntu 20LTS)
- VS Code Version: 1.63.0
- C/C++ Extension Version: v1.7.1
- Other extensions you installed (and if the issue persists after disabling them):
- A clear and concise description of what the bug is.
To Reproduce
Please include a code sample and launch.json configuration.
launch.json: the generated default.
code sample: just c++ hello world.
Steps to reproduce the behavior:
- Check the
Settings - Features - Debug - [Disassembly View: Show source code], make sure it's TRUE; - In the editor, write any good c++ code, then press F5 to start a normal debug, and pause at some breakpoint.
- Right click inside the code area, select
Open Disassembly Viewto launch the disassembly view. - As it shows, there's only assembly code. The c++ source code is NOT inlined within the assembly code.
Additional context
If applicable, please include logging by adding "logging": { "engineLogging": true, "trace": true, "traceResponse": true } in your launch.json
Add any other context about the problem here including log or error messages in your Debug Console or Output windows.
What I want is: c++ source code can be inlined within the disassembly code together, just like the visual studio behaves:

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
Reproduzieren Sie das Problem unter Ubuntu mit VS Code 1.63.0, der C/C++-Erweiterung v1.7.1, der generierten launch.json und aktivierter Einstellung „Disassembly View: Show source code“. Halten Sie ein C++-hello-world-Programm an einem Breakpoint an und öffnen Sie die Disassembly-Ansicht; abgeschlossen ist die Aufgabe, wenn der C++-Quellcode wie beschrieben inline zusammen mit der Assembly angezeigt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp, 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