如何在Windows Phone 7上调试Internet Explorer? [英] How do I debug Internet Explorer on Windows Phone 7?

查看:139
本文介绍了如何在Windows Phone 7上调试Internet Explorer?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不是Windows Phone开发人员,我希望尽可能少地与Microsoft有关的任何内容。尽管如此,我需要让我的移动网络应用程序在Windows Phone 7上正常运行。该平台有哪些调试工具可用?像Webkit开发人员工具或Firebug这样的东西,从手机本身或者更有可能从我的电脑进行远程调试是理想的。

I'm not a Windows Phone developer, and I want as little to do as possible with anything related to Microsoft. Nonetheless, I need to get my mobile web app running properly on Windows Phone 7. What debugging tools are available for the platform? Something like the Webkit developer tools or Firebug would be ideal, either from the phone itself or more likely, remotely debugging from my computer.

如果这样的事情不存在我会解决可以阅读Javascript错误信息,并使用 alert()或类似的内容查看变量的内容。在这一点上,我所知道的是,我的JS是失败的:我不知道在哪里或为什么,更不用说如何解决它。

If such a thing doesn't exist, I'd settle for being able to read Javascript error messages, and view the contents of variables using alert() or similar. At this point, all I know is that my JS is failing: I don't know where or why, let alone how to fix it.

我的开发计算机正在运行OS X,如果可能,我真的希望能够使用OS X中的这些工具。假设调试工具存在(我真的希望他们这样做),它们是否仅适用于Windows?如果是这样,有没有人知道他们会如何处理葡萄酒或类似的东西?

My dev computer is running OS X, and I'd really like to be able to use these tools from OS X if possible. Assuming that debugging tools exist (which I really hope they do) are they designed for Windows only? If so, does anyone know how well they would work with Wine or similar?

编辑:我有一个物理Windows Phone 7设备,所以我可以使用它。但是, alert()似乎没有工作,这就是为什么我发布这个问题。 alert()通常在WP7浏览器上工作?

EDIT: I have a physical Windows Phone 7 device, so I can use that. However, alert() doesn't seem to be working, which is why I'm posting this question. Does alert() normally work on the WP7 browser?

推荐答案

你可能会发现 Mobile Perf Bookmarklet 是最简单的一体化测试工具, em>任何移动设备。

You'll likely find the Mobile Perf Bookmarklet to be the easiest all-in-one tool for testing any mobile device.

到目前为止,在我的测试中,在iPhone / iPad / Samsung Galaxy Tab上运行良好。

Works well on the iPhone/iPad/Samsung Galaxy Tab in my testing so far.

引用:


它显示一个菜单,其中包含加载其他书签的链接,包括Firebug Lite,页面资源,DOM怪物,SpriteMe,CSSess和Zoompf。

It displays a menu with links that load other bookmarklets including Firebug Lite, Page Resources, DOM Monster, SpriteMe, CSSess, and Zoompf.

这篇关于如何在Windows Phone 7上调试Internet Explorer?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆