microsoft / microsoft/vscode-cpptools
Debugger won't start on Windows arm64 remoting to WSL
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 6.2k
- 派生
- 1.7k
- 平均合并
- 14 小时 46 分钟
- 30 天内合并 PR
- 61
描述
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!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在使用本地 Ubuntu WSL 的 Windows 11 arm64 上,使用报告中的 VS Code 和 C/C++ 扩展版本,复现所提供的 cppdbg 启动配置。将失败的启动与在 WSL 中手动运行 gdb 进行比较;当配置的调试器能够启动,并在失败时提供有用的输出时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- vscode
- 领域
- devtools, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 38/100