microsoft / microsoft/vscode-cpptools

Debugger won't start on Windows arm64 remoting to WSL

Abierto
#13,246 23 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug debugger help wanted regression
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 11 24H2 26100.2894, arm64 (Surface Pro X)
  • VS Code: 1.97.0
  • C/C++ extension: 1.23.5
  • OS and version of remote machine (if applicable): Local WSL, Ubuntu 22.04
  • GDB / LLDB version: gdb 14.0.50.20221220-git
Bug Summary and Steps to Reproduce

Bug Summary: When I start a debug launch, I can sometimes see the debugging icons in the top center for a brief time together with the wait icon on the debug mode icon on the left vertical bar, but very quickly the icons and the wait icon disappear as if nothing happened without any further information. I have tested multiple programs and none works. I tried the logging suggestions below, but no information is ever printed out in either debug console, or the output windows.

This might be due to recent update to WIn 11 24H2.

I have verified that the app exists and that gdb launched manually from wsl terminal works and debugs the app as expected.

Debugger Configurations
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "graphics-app [fantasy]",
            "type": "cppdbg",
            "request": "launch",
            "cwd": "${workspaceFolder}",
            "program": "${workspaceFolder}/build/cartridges/tests/display-png",
            "args": [],
            "stopAtEntry": false,
            "environment": [{ "name" : "DISPLAY", "value" : "0:0"}],
            "externalConsole": false,
            "MIMode": "gdb",
            "miDebuggerPath": "/usr/bin/gdb",
        },
    ]
}
Debugger Logs
None. Even when the logging above enabled, I can find no trace of an error.
Other Extensions

I do not think they are applicable. They do not seem to affect the problem.

Additional Information

I will behappy to provide any other information you ask for. Thanks a lot!

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Comienza reproduciendo la configuración de inicio cppdbg proporcionada en Windows 11 arm64 con Ubuntu WSL local, utilizando las versiones indicadas de VS Code y de la extensión C/C++. Compara el inicio fallido con la ejecución manual de gdb en WSL; se considera terminado cuando el depurador configurado se inicia y proporciona información útil cuando falla.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
vscode
Área
devtools, operating-systems
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.