开发者

Invoke Jscript profiler from outside Internet Explorer?

I've been unable to find the information but It may be quite simple. Using IE8, you can 开发者_运维知识库profile your code (F12), is there a way to invoke this profiler on an object implementing the IWebBrowser2 interface ?

Basically, i've CHtmlViews hosting a IWebBrowser2 object. I'd like to use the new profiler on these objects, is this possible ? (i can't find a documentation more recent than .Net 3.0)

thanks...


The interfaces for profiling aren't on IWebBrowser2 but rather on the JavaScript engine and can be found in any host of the engine. Documentation for it is over at: http://msdn.microsoft.com/en-us/subscriptions/downloads/cc836486(v=vs.94).aspx Alas it's not easy to get your own profiler going. If you can use IE11 or IE11 collecting an ETW trace would be your best bet for profiling IE outside of F12 or VS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜