microsoft / microsoft/vscode-cpptools

Debugger won't start on Windows arm64 remoting to WSL

Đang mở
#13,246 23 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug debugger help wanted regression
Ngôn ngữ chính
TypeScript
Star
6.2k
Fork
1.7k
Merge trung bình
14 giờ 46 phút
Pull request đã merge (30 ngày)
61

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện cấu hình khởi chạy cppdbg được cung cấp trên Windows 11 arm64 với Ubuntu WSL cục bộ, sử dụng các phiên bản VS Code và tiện ích mở rộng C/C++ đã được báo cáo. So sánh lần khởi chạy thất bại với việc chạy gdb thủ công trong WSL; được xem là hoàn tất khi trình gỡ lỗi đã cấu hình khởi động và cung cấp đầu ra hữu ích khi nó thất bại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
vscode
Lĩnh vực
devtools, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.