microsoft / microsoft/vscode-cpptools
`Show source code in disassembly view` not work
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- TypeScript
- Estrellas
- 6.2k
- Forks
- 1.7k
- Merge medio
- 14 h 46 min
- PR fusionados (30 d)
- 61
Descripción
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:

Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el problema en Ubuntu con VS Code 1.63.0, la extensión C/C++ v1.7.1, el launch.json generado y la opción «Disassembly View: Show source code» habilitada. Pause un programa C++ hello-world en un breakpoint y abra la vista de desensamblado; se considera hecho cuando el código fuente de C++ se muestra en línea junto con el ensamblado, tal como se describe.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp, vscode
- Área
- devtools
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100