microsoft / microsoft/vscode-cpptools
Disassembly view fails to load when starting a debug session with pre-set instruction breakpoints
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
Environment
- OS and version: Windows 10
- VS Code: 1.98
- C/C++ extension: 1.23.6
- OS and version of remote machine (if applicable):
- GDB / LLDB version: GDB 11.1
Bug Summary and Steps to Reproduce
Bug Summary:
When initiating a debug session in Visual Studio Code with pre-set instruction breakpoints, the disassembly view does not load as expected. the disassembly view has a "disassembly not available" in the window.
Steps to reproduce:
- Start any debug session in Visual Studio Code.
- Open the disassembly view.
- Set instruction breakpoints in the code.
- Stop the debug session.
- Start the debug session again (while the instruction breakpoints are still set).
- Open the disassembly view.
- Observe that the disassembly view will not load correctly and will display a "disassembly view not available"
message.
Debugger Configurations
you can try any debug configuration
Debugger Logs
I don't have the logs, but if you try to reproduce you will see that when trying to start a debug session with a pre-set instruction breakpoint, you will get a disassembly request of size 1 which I assume is what cause the bug.
Other Extensions
No response
Additional Information
No response
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 VS Code 1.98 con la extensión C/C++, GDB 11.1, cualquier configuración de depuración y un breakpoint de instrucción preestablecido. Compara la solicitud de desensamblado durante la segunda sesión, especialmente la solicitud de tamaño 1 indicada, y confirma que la vista de desensamblado se carga en lugar de mostrar “disassembly not available”.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript, vscode
- Área
- devtools
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100