microsoft / microsoft/vscode-cpptools

Unable to start debugging, since 1.14.3 (Windows 11 ARM)

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

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

debugger investigate: repro
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

Environment
  • OS and version: Windows 11 Home, 21H2, 22000.1574
  • VS Code: 1.75.1
  • C/C++ extension: 1.14.3
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version: unknown
Bug Summary and Steps to Reproduce

Bug Summary:

Steps to reproduce:

  1. Execute a launch configuration similar to:
        {
            "name": "Debug",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "[path/to/program]",
            "preLaunchTask": "Build",
            "cwd": "${workspaceFolder}",
        },
  1. See the error:
Unable to start debugging. Unable to start program '[path/to/program.exe]'. Unknown Error: 0x803d0014

I can debug the application with Visual Studio 2019, using devenv.exe [path/to/program.exe] The error also goes away if I downgrade the C/C++ extension to 1.13.9.

Debugger Configurations
Launch:


        {
            "name": "Debug",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "[path/to/program]",
            "preLaunchTask": "Build",
            "cwd": "${workspaceFolder}",
        },


Task:

      {
        "label": "Build",
        "type": "<custom build extension>",
        "group": {
          "kind": "build",
          "isDefault": true
        }
      },
Debugger Logs
<- (E) {"seq":3,"type":"event","event":"output","body":{"category":"console","output":"-------------------------------------------------------------------\nYou may only use the C/C++ Extension for Visual Studio Code\nwith Visual Studio Code, Visual Studio or Visual Studio for Mac\nsoftware to help you develop and test your applications.\n-------------------------------------------------------------------\n","severity":"ok"}}
-------------------------------------------------------------------
You may only use the C/C++ Extension for Visual Studio Code
with Visual Studio Code, Visual Studio or Visual Studio for Mac
software to help you develop and test your applications.
-------------------------------------------------------------------
<- (R) {"seq":5,"type":"response","request_seq":2,"success":true,"command":"launch"}
-> (C) {"type":"response","seq":1,"command":"handshake","request_seq":2,"success":true,"body":{"signature":"929LGsLuxPcn+PNRIjbOlwjG0CkteKOiGq8kO6qh0tjG+Y="}}
<- (E) {"seq":8,"type":"event","event":"initialized","body":{}}
-> (C) {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":3}
<- (R) {"seq":11,"type":"response","request_seq":3,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
-> (C) {"command":"setInstructionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}
<- (R) {"seq":14,"type":"response","request_seq":4,"success":true,"command":"setInstructionBreakpoints","body":{"breakpoints":[]}}
-> (C) {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[]},"type":"request","seq":5}
<- (R) {"seq":17,"type":"response","request_seq":5,"success":true,"command":"setExceptionBreakpoints","body":{}}
-> (C) {"command":"configurationDone","type":"request","seq":6}
<- (E) {"seq":20,"type":"event","event":"output","body":{"category":"stderr","output":"Unable to start debugging. Unable to start program '[path/to/program.exe]'. Unknown Error: 0x803d0014\n"}}
Unable to start debugging. Unable to start program '[path/to/program.exe]'. Unknown Error: 0x803d0014
<- (R) {"seq":22,"type":"response","request_seq":6,"success":false,"command":"configurationDone","message":"Unable to start program '[path/to/program.exe]'. Unknown Error: 0x803d0014"}
-> (C) {"command":"disconnect","arguments":{"restart":false},"type":"request","seq":7}
<- (E) {"seq":25,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/DebugCompleted","data":{"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Windows","VS.Diagnostics.Debugger.vsdbg.Version":"17.5.20119.1 commit:77a74c65d4300ba51a347e87db7b32741c8537db","VS.Diagnostics.Debugger.vsdbg.WindowsVersion":"10.0.22000","VS.Diagnostics.Debugger.vsdbg.DebugCompleted.BreakCounter":0,"VS.Diagnostics.Debugger.vsdbg.AdapterId":"cppvsdbg"}}}
<- (R) {"seq":27,"type":"response","request_seq":7,"success":true,"command":"disconnect"}
Other Extensions
  • Custom build system extension
  • GitLens
  • Live Share
Additional Information

Downgrading the C/C++ extension fixes the problem, so it appears to be an issue with the latest version (1.14.3).

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

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

はじめの一歩

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

調査の方向性

まず Windows 11 ARM で C/C++ extension 1.14.3 を使用して起動構成を再現し、その後、デバッガーのログと動作をバージョン 1.13.9 と比較します。完了の条件は、同じ cppvsdbg 構成でエラー 0x803d0014 なしにプログラムが正常に起動することです。

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

評価

技術スタック
cpp, typescript, vscode
領域
devtools, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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