cppvsdbg does not support MSIX app execution aliases
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- cpp, vscode
研究方向
首先,使用 cppvsdbg 和 MSIX 應用程式執行別名(例如 winget.exe)重現 launch.json 設定,並比較 F5 與 CTRL+F5。閱讀偵錯工具啟動路徑和 MSIX 應用程式執行別名的行為;當 F5 能在正確的套件內容中啟動並偵錯該別名,且不出現「Not implemented」錯誤時,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Environment
- OS and version: Windows 11 25H2
- VS Code: 1.109.5
- C/C++ extension: 1.30.5
- OS and version of remote machine (if applicable): n/a
- GDB / LLDB version: n/a
Bug Summary and Steps to Reproduce
Steps to Reproduce:
- Set up a launch.json to launch something with an MSIX execution alias using cppvsdbg debugger. A common one that many people have is installed is WinGet:
{
"version": "2.0.0",
"configurations": [
{
"name": "WinGet",
"type": "cppvsdbg",
"request": "launch",
"program": "winget.exe",
"args": [],
"console": "externalTerminal"
}
]
}
- Press F5. Notice you get an error "Unable to start program 'C:\Users\username\AppData\Local\Microsoft\WindowsApps\winget.exe'. Not implemented.". But if you press CTRL+F5 it executes it fine in the correct package context.
Debugger Configurations
Launch.json:
{
"version": "2.0.0",
"configurations": [
{
"name": "WinGet",
"type": "cppvsdbg",
"request": "launch",
"program": "winget.exe",
"args": [],
"console": "externalTerminal"
}
]
}
Debugger Logs
Unable to start debugging. Unable to start program 'C:\Users\...\AppData\Local\Microsoft\WindowsApps\MrBackgroundHost.exe'. Not implemented.
Other Extensions
No response
Additional Information
For some background:
- MSIX app execution aliases are defined here: https://learn.microsoft.com/en-us/uwp/schemas/appxpackage/uapmanifestschema/element-uap5-appexecutionalias. They allow a packaged executable to be executed from command-line.
- App execution aliases are the only way we've found we can launch our product in its appropriate MSIX package context from VS/VSCode, which is how customers will run our executable too.
- Visual Studio does not have this problem and can launch/debug things through an app execution alias just fine (I do this with an NMake-style vcxproj).
- 主要語言
- TypeScript
- 星號
- 6.2k
- 分支
- 1.7k
- 平均合併
- 1 天 22 小時
- 30 天內合併 PR
- 32
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/vscode-cpptools 的其他 Issue
-
Allow case-insensitive suppression of parameter inlay hints可能已有人在做 @Colengms 於 3 天前認領。 未關閉bug Feature: Inlay Hint Language Service
難度 2/5 1-3 小時 新手友好度 68/100
microsoft/vscode-cpptools#14829 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 30/100
microsoft/vscode-cpptools#14838 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 38/100
microsoft/vscode-cpptools#14834 ·
維護者通常 1 天內回覆
-
Directory iteration no longer respects files.exclude可能已有人在做 @Colengms 於 8 天前認領。 未關閉bug Language Service
microsoft/vscode-cpptools#14827 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Including `stdatomic.h` causes `size_t` to report the wrong type in Intellisense可能已有人在做 @Colengms 於 4 天前認領。 未關閉bug fixed Language Service
難度 4/5 3-5 天 新手友好度 25/100
microsoft/vscode-cpptools#14825 · 已指派 1 人 ·
維護者通常 1 天內回覆
查看 microsoft/vscode-cpptools 的全部 Issue
相似的 Issue
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 90/100
lingdojo/kana-dojo#32663 · 1 則留言 · 5 個 reaction ·
維護者通常 1 天內回覆
-
Admin: Title Separator field can't be cleared (input falls back to "|")可能已有人在做 @emdashbot 今天認領。 未關閉bot:bug bot:in-review
難度 2/5 1-3 小時 新手友好度 80/100
emdash-cms/emdash#4236 · 3 則留言 ·
維護者通常 1 天內回覆
-
PHP workflow streaming requests buffer the full SSE response可能已有人在做 @Winoren 今天認領。 未關閉review: medium
難度 2/5 1-3 小時 新手友好度 84/100
langgenius/dify#44270 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
area:holodeck review-finding
難度 2/5 1-3 小時 新手友好度 62/100
hyperdrive-technology/holodeck#142 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 90/100
code-yeongyu/senpi#3573 ·
維護者通常 1 天內回覆