微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何配置Silverlight应用程序?

他们的任何Profilers是否支持Silverlight?我试过ANTS(3.1版)没有任何成功?版本4是否支持?任何其他产品我可以试试?

更新
自从Silverlight 4发布以来,现在可以在SL应用程序上进行全面的分析了…查看有关该主题this文章

At PDC,I announced that Silverlight 4 came with the new CoreCLR capability of being profile-able by the VS2010 profilers: this means that for the first time,we give you the power to profile the managed and native code (user or platform) used by a Silverlight application. woohoo. kudos to the CLR team.

Sidenote: From silverlight 1-3,one Could only use things like xperf (see XPerf: A cpu Sampler for Silverlight) which is very powerful to see the layout/text/media/gfx/etc pipelines,but only gives the native callstack.)

SilverLite(PDC video,TechEd Iceland,VS2010,profiling,Silverlight 4)

解决方法

安装XPerf和xperfview,如下所示: http://msdn.microsoft.com/en-us/library/cc305218.aspx

(1)启动样品

(2)xperf -on base

(3)等一下

(4)xperf -d myprofile.etl

(5)当这样做时,设置你的符号路径:

    set _NT_SYMBOL_PATH= srvC:\symbols07001

(6)xperfview myprofile.etl

(7)追踪 – >加载符号

>选择要查看的cpu图形的区域
>右键单击并选择汇总表

(8)接受EULA使用符号,扩展IExplore,扩展agcore.dll或任何您的顶级模块

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐