问题描述
限时送ChatGPT账号..我在 RTM 版本的 Windows Phone 7 工具中创建的任何应用程序都会在模拟器屏幕的右侧显示帧计数器、内存和 GPU 诊断信息.
Any application I create in the RTM version of the Windows Phone 7 tools displays the framecounter,memory and gpu diagnostic info along the right side of the emulator screen.
我确实更改了任何设置/首选项 - 这是 RTM 模拟器的默认行为吗?
I did change any settings/preferences - is this the default behavior of the RTM emulator?
谢谢迈克尔
推荐答案
模拟器没有.默认情况下的应用程序,是的.(如果附加了调试器)
The emulator no. The apps by default, yes. (if the debugger is attached)
如果您查看 App.xaml.cs,您会在自动生成的构造函数中找到此代码:
If you look in App.xaml.cs you'll find this code in the autogenerated constructor:
// Show graphics profiling information while debugging.
if (System.Diagnostics.Debugger.IsAttached)
{
// Display the current frame rate counters.
Application.Current.Host.Settings.EnableFrameRateCounter = true;
// Show the areas of the app that are being redrawn in each frame.
//Application.Current.Host.Settings.EnableRedrawRegions = true;
// Enable non-production analysis visualization mode,
// which shows areas of a page that are being GPU accelerated with a colored overlay.
//Application.Current.Host.Settings.EnableCacheVisualization = true;
}
如果需要,您可以注释掉 enableframeratecounter,或者您可以取消注释其他人以获得更多内容.
you can comment out the enableframeratecounter if you want it off, or you can uncomment those others to get more stuff.
这篇关于WP7 RTM 模拟器在右侧显示帧计数器和 dx 信息 - 这是默认设置吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论