microsoft / microsoft/WinAppVSCE
[Bug]: C++ project breakpoint not hit
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 3
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 11
Description
Describe the bug
On a fresh new C++WinUI3 packaged project created with visual studio project template, the breakpoint is not working when running it in vscode with this extension.
To Reproduce
- Create a new winui3 C++ packaged project with visual studio
- Build it in visual studio
- Open vscode, put a breakpoint at
Appconstructor, f5 to debug the exe in the output dir (not the Appx dir, as it seems to create one more level ofAppxif I did that). The first one in the drop-down
Expected behavior
Breakpoint should hit
Screenshots
OS Version and details
Windows 10 1903
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce with a fresh C++ WinUI3 packaged project created in Visual Studio, then build it and launch the executable from the output directory in VS Code. Set a breakpoint at the App constructor and run F5; done means the breakpoint is hit when debugging the executable rather than the Appx output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, vscode
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100