Unable to start debugging, since 1.14.3 (Windows 11 ARM)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp, typescript, vscode
- Lĩnh vực
- devtools, operating-systems
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 trên Windows 11 ARM với C/C++ extension 1.14.3, sau đó so sánh log của trình gỡ lỗi và hành vi với phiên bản 1.13.9. Hoàn thành khi cùng cấu hình cppvsdbg khởi chạy chương trình thành công mà không có lỗi 0x803d0014.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:
- Execute a launch configuration similar to:
{
"name": "Debug",
"type": "cppvsdbg",
"request": "launch",
"program": "[path/to/program]",
"preLaunchTask": "Build",
"cwd": "${workspaceFolder}",
},
- 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).
- 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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-cpptools
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries Đang mởbug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 1 người được giao ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · 1 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 64/100
microsoft/vscode-cpptools#14769 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
microsoft/vscode-cpptools#14768 · 1 bình luận ·
Tất cả issue của microsoft/vscode-cpptools
Issue tương tự
-
Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenNSW/nsw-srilanka#497 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
digidem/comapeo-cloud-app#403 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100