How to turn off the frame rate counters for Windows Universal App’s ?

How to turn off the frame rate counters for Windows Universal App’s ?

When running a Windows Universal App’s from the Visual Studio 2015, you may have notice that there are few text (in a format of 000 – 000) getting displayed just below to the title bar of the app’s. Many of you may be wondering what are those text information’s ? What does those mean ? how we can remove them ?


The numbers indicates display frame-rate and per-frame CPU usage info of your app while your app is in debug. This helps to monitor certain aspect of the app when it’s running in debug mode You can use those frame rate counter to monitor the app performance time to time.

 How to turn it off when you don’t need it ?

Well, before you turned it off, first check from where and how it is enabled ?   From the Solution Explorer of Visual Studio, Open the App.xaml.cs file, and navigate to OnLaunched Event handler.


There you will notice, Frame rate counter for the debug settings is set to true using below statement

this.DebugSettings.EnableFrameRateCounter = true;

if you set it as false, you won’t see the frame counter from the next run.

this.DebugSettings.EnableFrameRateCounter = false;


Read more about DebugSettings.EnableFrameRateCounter property here

You can comment this whole section of code as well; if you want !


Also, the application would only execute above statement, if the debugger is attached with it. means, if you are running your application on “Release Mode” or “Start without Debugging” this would have no impact / there will be no frame rate counter display.


Hope this helps !

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

One Comment to “How to turn off the frame rate counters for Windows Universal App’s ?”

Comments are closed.