Reputation: 41
I've got a project that has been written by someone else, and I can't debug it using Visual Studio 2019. It's a Xamarin app. When I try to debug it in VS, using the emulator or a phone, it gets stuck on the splash screen. Sometimes it returns a failed to load XAML hot reload and a timeout. When I open the app without the debugger, using the emulator, the app works.
Any ideas on what is the problem here? Already tried various project configurations.
Edit: other xamarin projects are working with the debug, using the same configs.
Upvotes: 1
Views: 1166
Reputation: 3064
I had the same problem and it wasn't stopping on any breakpoints, it just froze on the splash screen. To try to solve the problem, I restarted VS many times, restarted windows, updated VS, inspected the device log, nothing it still froze.
I deleted all breakpoints from the 'breakpoints' window and it started fine again.
Upvotes: 1