Navigation


Markus on Development and Publishing

This is Markus Egger's professional blog, which covers topics such as development, publishing, and business in general. As the publisher of CoDe and CoDe Focus magazines, and as the President and Chief Software Architect of EPS Software Corp., Markus shares his insights and opinions on this blog.

Content Area Footer

Thursday, December 02, 2010
Hiding/Showing Windows Phone 7 Emulator Performance Count Numbers

When you run your application in the Windows Phone 7 emulator, you are likely to see performance counters down the right side of the emulator display:

It may be a bit difficult to see it in this image, so here is a version zoomed in on those numbers:

These numbers are very useful, since they give you interesting performance information. However, at times you may not want them. In particular, I find them problematic when I need to take screen shots of my app in the emulator. So the question is: How do you turn them off?

To answer that question, let’s first examine why they are showing up in the first place. As it turns out, these numbers are added by the debugger. So whenever you start an app in debug mode, these numbers show up. Since most people simply hit F5 in Visual Studio to start a debug session, they see these numbers most of the time. However, if you simply launch the app without the debugger attached (by hitting CTRL+F5 for instance), the numbers are gone:

Another option is to launch your app in debug mode, then hit the Windows symbol (the middle hardware button) to go back to the home screen. Since the phone is not multi-tasked, this shuts down the app, which forces the debugger to detach. If you then click the icon of your app again to go back into your app, you are running without the debugger and thus the numbers are gone in this scenario as well. This particular option is more likely to happen by accident though :-)

There you have it! Perf numbers are gone and you are ready to take your pristine screen shots.

Note: I actually needed this when I took a panomara screen shot of the CODE Magazine Windows Phone 7 app. Taking panorama screen shots is a whole different problem in itself. I blogged about it here.



Posted @ 7:22 PM by Egger, Markus (markus@code-magazine.com) -
Comments (1895)


 

 

 

 

 

 

 

Syndication RSS 2.0 RSS 2.0

All My Blogs:
My personal blogs:
Dev and Publishing Dev and Publishing
Travel and Internat. Living Travel and Internat. Living
Other blogs I contribute to:
Milos Blog (US) Milos Blog (US)
VFPConv. Dev Blog (US) VFPConv. Dev Blog (US)
VFPConv. Dev Blog (DE) VFPConv. Dev Blog (DE)

 

Blog Archives
All Blog Posts

2015
    September (1)
2012
    September (1)
    April (1)
    March (1)
2011
    October (1)
    June (3)
    May (1)
    March (2)
    February (2)
    January (2)
2010
    December (3)
    November (2)
    October (2)
    September (1)
    August (2)
    July (1)
    June (1)
    April (3)
    March (1)
    February (5)
    January (1)
2009
    October (4)
    September (2)
    August (1)
    July (1)
    May (4)
    April (6)
    February (1)
    January (1)
2008
    December (3)
    November (11)
    October (8)
    September (1)
    July (1)
    June (3)
    May (3)
    April (6)
    March (6)
    February (4)
2007
    December (1)
    November (1)
    October (5)
    September (1)
    August (1)
    July (6)
    June (3)
    May (3)
    April (1)
    March (2)
    January (2)
2006
    December (3)
    November (4)
    October (1)
    September (2)
    August (2)
    July (4)
    June (1)
    May (2)
    April (10)
    March (2)
    February (3)
    January (1)
2005
    December (6)
    November (7)
    October (6)
    September (8)
    August (10)
    July (6)
    June (9)

 

 

 

This Blog is powered by MilosTM Collaboration Components.