为什么Chrome会在jQuery的某一行中暂停? [英] Why is Chrome pausing on some line inside jQuery?

查看:125
本文介绍了为什么Chrome会在jQuery的某一行中暂停?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我使用Chrome Inspector刷新我的网络应用程序时,它都会暂停并将我带到sources选项卡,并带有一个红色的大箭头图标,指向jQuery中的一些奇怪行。


在调试器中暂停




暂停在例外情况:DOMException

blockquote>

在资源标签上的调用堆栈中。



据我所知,我没有设置任何断点和此代码之前没有抛出异常 - 所以发生了什么事情?

解决方案



左下方有一点暂停图示。应该是黑色的。点击它循环选择几个断点。


Every time I refresh my web app with the Chrome Inspector open it pauses and takes me to the sources tab with a big red arrow icon pointing to some weird line inside jQuery.

I see

Paused in debugger

in the top-middle of the window, and

Paused on exception: DOMException

in the Call Stack on the sources tab.

As far as I'm aware, I haven't set any breakpoints and this code wasn't throwing exceptions before - so what's going on?

解决方案

That little pause icon in the lower left. Should be black in color. Click it to cycle through several breakpoint options.

这篇关于为什么Chrome会在jQuery的某一行中暂停?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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