IE9忽略“显示有关每个脚本错误的通知” [英] IE9 Ignores "Display a Notification about every Script Error"

查看:65
本文介绍了IE9忽略“显示有关每个脚本错误的通知”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎IE9有一个错误,无论你在"Internet选项 - "中设置了什么。高级 - >显示有关每个脚本错误的通知"它将显示弹出窗口,除非您已选中"Internet选项 - >高级 - >禁用
脚本调试(Internet Explorer)"。

It seems that IE9 has a bug where no matter what you have set in the "Internet Options -> Advanced -> Display a Notification about every Script Error" it will display a pop up unless you have checked the "Internet Options -> Advanced -> Disable Script Debugging (Internet Explorer)".

因此,如果要禁用脚本错误的弹出窗口,则必须禁用脚本调试。 不幸的是,这意味着您无法使用浏览器进行常规浏览,因为您在不关心时会获得这些弹出窗口,然后切换回开发人员
环境并调试javascript。 你必须每次关闭它。

So if you want to disable pop ups for script errors you must disable script debugging.  Unfortunatly that means that you can't use the browser for regular browsing because you get these pop ups when you don't care and then switch back to the developer environment and debug javascript.  You have to each time turn it off and on.

我猜测没有人注意到这一点因为Visual Studio通常无法连接到IE9中的正确进程因此你必须连接它手动让脚本调试在IE9下工作。 我正在开发一个可视化工作室加载项来解决这个
问题。

I'm guessing nobody has noticed this becauae Visual Studio usually fails to connect to the correct process in IE9 and so you have to connect it manually to get script debugging to work under IE9.  I'm working on a visual studio Add-In to solve this problem too.

所以大多数人都会完全禁用脚本调试。 对于IE9上的开发人员来说,这不是一个好的解决方案。 我将不得不开始使用FireFox进行开发,我不想这样做。

So most people would just disable script debugging altogether.  For developers on IE9 this isn't going to be a good solution.  I'm going to have to start developing with FireFox and I don't want to do that.

希望有人知道如何解决这个问题。 有什么想法吗?

Hopefully someone out there has an idea how to solve this.  Any ideas?

推荐答案

我认为这是'哑巴'一般用户的IE UI ...(他们对调试有缺陷的网站不感兴趣)。但可能是因为Developer工具提供了一组丰富的调试工具(监视,本地,堆栈跟踪),它需要明确
启动,这样就不会浪费调试符号的渲染时间。

I think that is to 'Dumb down' the IE UI for general users... (they are not interested in debugging buggy web sites). but probably because the Developer tool offers a rich set of debugging tools (watch, locals, stack trace) that it needs to be explicitly started so that no rendering time is wasted on debugging symbols.

可能也是因为其他浏览器也是这样做的,但是如果您认为它是一个问题,您可以随时在connect.microsoft.com/ie提供反馈

Probably also because other browsers do it this way also, but if you think its an issue you can always provide feedback at connect.microsoft.com/ie

开始调试IE9中的网页你必须从开发人员工具中明确地"打开它"

To start debugging a web page in IE9 you have to explicityly 'turn it on' from the Developer Tool

F12>脚本选项卡,点击"开始调试"按钮。按钮....这将重新加载当前页面,其中包含错误中断或您在启用开发人员工具控制台选项卡时设置的任何监视设置。

F12>Script tab, click the "Start Debugging" button.... this will reload the current page with break on error or any watch settings that you set from the Developer Tool console tab enabled.


这篇关于IE9忽略“显示有关每个脚本错误的通知”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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