IE开发人员工具断点不起作用 [英] IE Developer Tools breakpoints are not working

查看:894
本文介绍了IE开发人员工具断点不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在IE 11中调试一些JavaScript,但无法强制其在断点处停止.

I'm trying to debug some javascript in IE 11 and I'm not able to force it to stop on a breakpoint.

debugger;行工作正常(在该行中停止调试器),没有debugger;行但在同一位置设置了断点的相同文件没有任何作用(功能正常,但调试器不会在断点处停止)

debugger; line works fine (stops debugger in that line), same file without a debugger; line but with a breakpoint set in the same place does nothing (function works fine, but debugger does not stop on a breakpoint).

Chrome和Firefox的调试器在相同位置的断点处停止.

Chrome's and Firefox's debuggers stop on breakpoints in the same places.

有什么想法会导致这种行为?

Any thoughts what could be the cause of this behavior?

推荐答案

哈姆雷特(Hamlet)在对OP问题的评论中给出了正确的答案.

Hamlet, in the comments to OP question, gave the correct answer.

取消选中以下选项:

Internet选项>高级>禁用脚本调试(Internet Explorer)

Internet Options > Advanced > Disable Script Debugging (Internet Explorer)

这篇关于IE开发人员工具断点不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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