microsoft / microsoft/WinAppVSCE

[Bug]: C++ project breakpoint not hit

Open
#253 0 comments 0 reactions 0 assignees View on GitHub

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
  1. Create a new winui3 C++ packaged project with visual studio
Image
  1. Build it in visual studio
  2. Open vscode, put a breakpoint at App constructor, f5 to debug the exe in the output dir (not the Appx dir, as it seems to create one more level of Appx if I did that). The first one in the drop-down
Image
Expected behavior

Breakpoint should hit

Screenshots
Image
OS Version and details

Windows 10 1903

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.