"UWPHost.pdb not loaded" - Debugging Xamarin UWP app

1

I have a Xamarin app for which I have been debugging the UWP app on my computer for testing.

I've been having difficulties debugging. I keep getting a 'No Symbols Loaded' error which goes onto say one of the following errors:

UWPHost.pdb not loaded

or

wkernelbase.pdb not loaded

Typically, restarting or rebuilding Visual Studio will sometimes resolve the issue temporarily. As a result of this, development has been an incredibly painful process.

Any idea how this sort of problem can be avoided?

Additionally, if it's not the PDB errors I get this instead:

Unable to activate Windows Store app ... 'The app didn't start'

These errors can happen with absolutely zero changes.

I'm new to Xamarin so I could be missing something blindingly obvious here.

Something I already tried was checking the 'Microsoft Symbol Servers' option via Visual Studio options.

I'm using Visual Studio 2019.

UPDATE:

I changed the following Visual Studio option:

Tools -> Options -> Debugging -> General -> Enable .NET Framework source stepping

This allowed me to see the following error:

Unhandled exception at 0x7747C762 (KernelBase.dll) in Framework.UWP.exe: 0xE0434352 (parameters: 0x8007000B, 0x00000000, 0x00000000, 0x00000000, 0x03B40000). occurred

visual-studio
xamarin
visual-studio-debugging
asked on Stack Overflow May 31, 2019 by Ciaran Gallagher • edited May 31, 2019 by Ciaran Gallagher

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0