What are the two numbers in the upper left corner of the uap application using VS2015 and Windows 10?

I installed Win 10 Preview and VS 2015. I created a new uap blank application and launched it, and I got a window with two numbers in the upper left corner, for example, 000 000 If I add a button to the application (and postpone it from the shaded numbers), and then press the button, the numbers change in what seems random to me, like 020 001.

What's happening?

+6
source share
3 answers

Now I found that these numbers disappear if you set

this.DebugSettings.EnableFrameRateCounter = false 

in OnLaunched. It is explained here

Not that it meant anything to me.

+7
source

This frame counter is enabled by the following code snippet in your App.xaml.cs application:

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

source: https://social.msdn.microsoft.com/Forums/en-US/a33a634c-5c68-44b4-8fca-8eb5a263d145/misterious-numbers-being-displayed-in-upper-left-and-right-corners- of-the-screen? forum = winappswithcsharp

+2
source

This is debugging information, they will not be displayed if you create in release mode.

The left number is the FPS counter for your application, the right number is the CPU usage for each frame in% (only for calculations in the user interface thread).

But the MSDN page associated with you gave a full explanation.

+1
source

Source: https://habr.com/ru/post/984487/


All Articles