microsoft / microsoft/vscode-cpptools

`Show source code in disassembly view` not work

Offen
#8,516 3 Kommentare 12 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

debugger Feature Request
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:

  1. Check the Settings - Features - Debug - [Disassembly View: Show source code], make sure it's TRUE;
  2. In the editor, write any good c++ code, then press F5 to start a normal debug, and pause at some breakpoint.
  3. Right click inside the code area, select Open Disassembly View to launch the disassembly view.
  4. 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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.