Home > Back-end >  Question regarding debugging Visual Studio Xamarin UWP project
Question regarding debugging Visual Studio Xamarin UWP project

Time:07-01

While debugging a Xamarin UWP project, I notice a set of numbers in the upper left-hand corner of my debug screen. I have ignored them for quite some time but am curious about what relevance these numbers provide and how to turn them off. I find them of no value. Below is a sample of my test. enter image description here

CodePudding user response:

That's the windows frame rate counter. If you want to disable it, go to your App.xaml.cs file and remove/comment out the following code from the OnLaunched method:

#if DEBUG
        if (System.Diagnostics.Debugger.IsAttached)
        {
            this.DebugSettings.EnableFrameRateCounter = true;
        }
#endif

For more,check document DebugSettings Class.

CodePudding user response:

Question has been fully resolved. Thanks to Jessie Zhang.

  • Related