Is there a trick to getting Android emulator to debug correctly??

Lloyd Sheen 1,486 Reputation points
2024-01-18T18:29:25.15+00:00

I have the "isn't responding" error way too much.
When it occurs VS and the emulator have basically stopped working together. I have a button that closes the app with the code :

    private void closeApp(object sender, TappedEventArgs e)
    {
        Application.Current.Quit();
    }


Now this code works, in debug and release but when I get the msg above it stops working. I can click the button , the app disappears but within a couple of seconds it is back from an app which has stopped. At this point I am beyond wondering why and wondering if MS is ever going to fix Maui and Android!!! Today had I taken screen shots of all the problems with VS I could post the longest post on this site. Every thing from errors which do not exist and even VS knows as it starts the app but the errors are still showing. To things like adding a watch which gives the cannot evaluate the property (I had to add a line of code to assign the property to a var so that I could view it and an editor which has such poor editing that I cannot without using rude words describe it.

Developer technologies | .NET | .NET MAUI
Developer technologies | Visual Studio | Other
{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.