Chrome 'paused in debugger' issue

删除回忆录丶 提交于 2019-12-06 16:36:42

问题


I don't know what I've switched on (by accident) but every time I have the Inspect Element area open and then try to click anything on the webpage not within the Inspect Element area (especially something jQuery related like a slideshow for example) it greys the page, shows a message saying 'Paused in debugger' and then opens a jQuery file within the Sources section of Inspect Element.

Within the 'Call Stack' area, it shows a message saying 'Paused on a "click" Event Listener'.

I don't remember switching this feature on but I'm keen for it to be switched off.

I know this question has been asked before - I thought I'd found the answer when everyone suggested we look to see if the 'Pause' option is switched on (blue). However, it's not switched on, it's grey not blue or any other colour and when I hover over it, it says "Don't pause on exceptions. Click to Pause on all exceptions".


回答1:


You might also check the Source tab, check under the Event Listener Breakpoints panel if you've set any breakpoints under 'Mouse'.




回答2:


Found solution here, if the little octagonal stop/pause sign (at lower left of Chrome "Sources") is colored (blue or purple), you need to click on it until it's black again.




回答3:


This can also cause the issue

Break Point icon at top left should be blue like this(For Deactivate BreakPoints)

Should not grey like this




回答4:


It did drive me nuts for a short while.....scroll all the way to the bottom of breakpoint window and you'll find XHR Breakpoints & under it there is the Any XHR checkbox...




回答5:


Go to Elements tab and remove all breakpoints from right pane under DOM Breakpoints




回答6:


Goto the sources tab and check all breakpoints.




回答7:


One possible cause, it that you've enabled the "pause on exceptions" (the little stop-sign shaped icon with the pause (||) symbol with in in the lower left of the window). Try clicking that back to the off/grey state (not red nor blue states) and reload the page.



来源:https://stackoverflow.com/questions/13013639/chrome-paused-in-debugger-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!