microsoft / microsoft/vscode-cpptools
`Show source code in disassembly view` not work
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
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:

Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema su Ubuntu con VS Code 1.63.0, l’estensione C/C++ v1.7.1, il launch.json generato e l’impostazione «Disassembly View: Show source code» abilitata. Metti in pausa un programma hello-world C++ su un breakpoint e apri la vista di disassemblaggio; l’attività è completata quando il codice sorgente C++ viene visualizzato inline insieme all’assembly come descritto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp, vscode
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100