我怎么可以观看(即调试)xmlHtt prequest()在IE8的行动? (使用Firebug的精简版)精简版、行动、我怎么、xmlHtt

由网友(゛迩所谓的单纯莪早已看透)分享简介:我通常做使用Firefox我的web开发 - 我定期用FF和IE测试我的网页跨浏览器的兼容性I normally do my web dev using Firefox - I periodically test for cross browser compatability of my pages by using...

我通常做使用Firefox我的web开发 - 我定期用FF和IE测试我的网页跨浏览器的兼容性

I normally do my web dev using Firefox - I periodically test for cross browser compatability of my pages by using FF and IE.

我刚刚发现我的AJAX的一页停在IE工作 - 尽管它工作正常在FF。随着FF,我总是使用Firebug调试我的Ajax交互。我找了一个类似的工具与IE浏览器使用 - 看看是什么原因造成的失败,即使它是在页面上一个简单的AJAX程序。

I have just found that one of my AJAX pages stopped working in IE - although it works fine in FF. With FF, I always use FireBug to debug my Ajax interactions. I am looking for a similar tool to use with IE - to see what it is causing it to fail, even though it is a straightforward AJAX process on the page.

我下载萤火精简版,而且是非常有益的,因为它带来了一个熟悉的开发环境为IE浏览器。不幸的是,我一直没能按照ForebugLite的文档调试我的AJAX交互:

I downloaded Firebug Lite and that was very helpful, as it brought a familiar dev environment into IE. Unfortunately, I have not been able to debug my AJAX interactions following the ForebugLite's documentation:

firebug.watchXHR: Use this function to watch the status of XmlHttpRequest objects.

    var req = new XmlHttpRequest;
    firebug.watchXHR(req);

我插在我的网页 - 所以我页面的顶部看起来是这样的:

I inserted that in my page - so the top of my page looks like this:

<script type='text/javascript' 
    src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'>
    var req = new XmlHttpRequest;
    firebug.watchXHR(req);      
</script>

不过,我仍然无法调试AJAX交互(即没有显示在控制台窗口中,当我点击触发AJAX调用的链接)。

However, I still could not debug the AJAX interactions (i.e. nothing shows in the console window when I click on a link that triggers an AJAX call).

有没有人管理(IE7和Firebug的精简版)?

Has anyone managed to do this before (IE7 and Firebug Lite)?

推荐答案

或者,你可以安装提琴手并观看所有你的网站流量。

Or, you could install Fiddler and watch all of your web traffic.

阅读全文

相关推荐

最新文章