isp*_*iro 3 c# visual-studio win-universal-app windows-10 visual-studio-2015
在Windows 10上的Visual Studio 2015中调试C#Windows应用商店应用程序时,我得到以下信息:
这些数字是多少?代码中根本没有数字.它应该只是背后的形象.
小智 6
这些数字是与EnableFrameRateCounter相关的额外的debuging信息.
如果您查看App.xaml.cs代码,您将看到FrameRateCounter已经以编程方式初始化为调试模式:
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = true;
}
#endif
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
132 次 |
| 最近记录: |