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
User contributions licensed under CC BY-SA 3.0