windows-phone-7 – WP7 RTM仿真器在右侧显示framecounter和dx信息 – 这是默认设置吗?

我在 Windows Phone 7工具的RTM版本中创建的任何应用程序都会在仿真器屏幕的右侧显示framecounter,memory和gpu诊断信息.

我确实更改了任何设置/首选项 – 这是RTM模拟器的默认行为吗?

谢谢
迈克尔

模拟器没有.默认是应用程序,是的. (如果附加了调试器)

如果您查看App.xaml.cs,您将在自动生成的构造函数中找到此代码:

// 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,如果你想要它,或者你可以取消注释其他人以获得更多的东西.

相关文章

文章浏览阅读2.2k次,点赞6次,收藏20次。在我们平时办公工作...
文章浏览阅读1k次。解决 Windows make command not found 和...
文章浏览阅读3.2k次,点赞2次,收藏6次。2、鼠标依次点击“计...
文章浏览阅读1.3w次。蓝光版属于高清版的一种。BD英文全名是...
文章浏览阅读974次,点赞7次,收藏8次。提供了更强大的功能,...
文章浏览阅读1.4w次,点赞5次,收藏22次。如果使用iterator的...