How to debug high cpu usage after unlocking iOS device in Xamarin App

Daniel Hughes 96 Reputation points
2020-12-07T21:57:17.357+00:00

I have an Xamarin.Forms app which has an issue where CPU goes over 100% and stays there after unlocking the phone while the app is in the foreground

I have put logging statements in all the places I can think of that may be the cause, but so far no success.

I can't use the debugger, because it disconnects as soon as the screen is turned off. And there doesn't appear to be any way to attach to an already running process.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,355 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.