vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.47k stars 234 forks source link

Add support for Windows on ARM64 #678

Open jhaxhiaj opened 2 years ago

jhaxhiaj commented 2 years ago

LLDB is available Windows for ARM64 via msys2 but vscode-lldb is not supported on this platform. Is there any plan to add support for this platform?

vadimcn commented 2 years ago

No near-term plans. Unlike arm64 Macs, arm64 Windows has close to zero market penetration.

DctrNoob commented 2 years ago

+1 from me for this request. My use case is a virtualized Windows 11 for arm64 on an Apple Silicon Mac. From my common C++ extension set codelldb is currently the only extension not running on arm64 for Windows.

hmartinez82 commented 2 years ago

+1 here too, native development in a Surface Pro X , with native Visual Studio Code, with native clangarm64 env from MSYS2.

fzhwenzhou commented 1 year ago

+1 too. My development environment is Huawei Matebook E Go Performance version (Qualcomm Snapdragon 8cx Gen3) with native Visual Studio, Visual Studio Code and clang-aarch64 from MSYS2.

hmartinez82 commented 1 year ago

+1. And how can I help?

mstokercricut commented 8 months ago

+1 from me. My dev environment is building Swift executables with Swift Package Manager for Windows 11 on my Macbook Pro with M3 Max while using Parallels. Having Parallels and Microsoft working together to provide Windows 11 virtualization on arm64 with x86_64 emulation is likely to raise the market penetration of Windows on arm64 significantly.

As of right now, compilation of Swift code via Swift Package Manager (and VSCode using SwiftPM) works great, producing x86_64 binaries and running them using x86_64 emulation. Test suites and CLI applications execute nicely.

Debugging those test suites and CLI applications, however, does not.

Using the arm64 install of VSCode, attempting to debug a test using the Swift extension from the Swift Server Work Group (which depends on CodeLLDB) reports "This platform (arm64-win32) is not supported." Using the x64 install of VSCode, attempting the same thing appears to hang, the test running forever.

I'm very new to Windows development and debugger development in general, but would be happy to help if I can!

ElectricalBoy commented 8 months ago

For anyone looking for a workaround (requires MSYS2): https://gist.github.com/ElectricalBoy/c661ce22169e538cd00e6e3aebe3d4e0