Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native debugging for WinUI apps stopped working #9619

Open
Youssef1313 opened this issue May 9, 2024 · 7 comments
Open

Native debugging for WinUI apps stopped working #9619

Youssef1313 opened this issue May 9, 2024 · 7 comments
Labels
area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) bug Something isn't working team-Markup Issue for the Markup team

Comments

@Youssef1313
Copy link
Contributor

Describe the bug

The steps outlined here used to work: https://github.com/microsoft/microsoft-ui-xaml/tree/winui3/release/1.5-stable?tab=readme-ov-file#debugging-winui-3

But they stopped working.

The PDBs are loaded, but it says no source information available.

image

Steps to reproduce the bug

Follow the steps using:

  1. VS 17.10 Preview 5
  2. Microsoft.WindowsAppSDK 1.5.240428000
  3. Microsoft.Windows.SDK.BuildTools 10.0.22621.756
  4. Source code from 2a60e27
  5. I have "Just my code" disabled
  6. I added the repo root to solution's "Debug Source Files"

image

Not sure if it's a VS regression, or PDBs from https://msdl.microsoft.com/download/symbols became corrupted/wrong somehow.

Expected behavior

Debugging should work

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

@Youssef1313 Youssef1313 added the bug Something isn't working label May 9, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label May 9, 2024
Copy link

github-actions bot commented May 9, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@codendone codendone added area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) team-Markup Issue for the Markup team and removed needs-triage Issue needs to be triaged by the area owners labels May 10, 2024
@evelynwu-msft
Copy link
Contributor

evelynwu-msft commented May 11, 2024

@Youssef1313 Can you verify that your Visual Studio installation is configured for Source Server support like in the screenshot below?
image

If that is configured correctly and the source files are still not being resolved (whether via the command stamped into the PDBs or your local clone) then I recommend reporting an issue through Visual Studio so that the appropriate team can investigate further.

@Youssef1313
Copy link
Contributor Author

@evelynwu-msft Sorry for the late reply. I have "Enable source server support" checked.

@evelynwu-msft
Copy link
Contributor

@Youssef1313 Unfortunately, it appears that the backend is removing private information, which includes source information, from the symbols we publish. It may not be possible to rectify this for symbols that have already been published but we'll do our best to resolve this quickly to minimize the number of future releases that are similarly affected.

@Youssef1313
Copy link
Contributor Author

Thank you @evelynwu-msft for looking into this.

Is there any workaround available? Or any specific version that can work?

@Youssef1313
Copy link
Contributor Author

Hi @evelynwu-msft

I think this was supposed to be fixed in 1.4.240512000, but I'm still seeing the same issue with 1.4.240512000 and commit 326f5a6

@Youssef1313
Copy link
Contributor Author

Youssef1313 commented May 22, 2024

My bad, it's working fine with that version. I assume next/future 1.5.x versions will work as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NugetPackage Issue with the nuget package developer experience (e.g. build error, missing files) bug Something isn't working team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

3 participants