microsoft / microsoft/vscode-cpptools

Debugger won't start on Windows arm64 remoting to WSL

オープン
#13,246 コメント 23 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug debugger help wanted regression
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
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!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、報告されている VS Code と C/C++ 拡張機能のバージョンを使用し、ローカルの Ubuntu WSL を備えた Windows 11 arm64 上で、提供された cppdbg 起動構成を再現します。失敗した起動と、WSL で gdb を手動実行した場合を比較します。完了の条件は、構成されたデバッガーが起動し、失敗したときに有用な出力を提供することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
vscode
領域
devtools, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。