user10589533
user10589533

Reputation:

Chrome debugger paused even without breakpoints?

When inspecting this site, the scripts are always paused in the debugger even if there are no break points set, and if the the pause is un-paused, it again pauses itself.

What can be done?

https://i.sstatic.net/J84eU.png

Upvotes: 6

Views: 9709

Answers (3)

alehro
alehro

Reputation: 2208

I have such situation quite often (maybe several times a month). After some time the issue goes away but so far I am failed to find out any deterministic workaround. This is very annoying. So, I will post workarounds here.
Workaround 1.
Opened the page in new browser tab. Opened source in the debugger. There appeared to be a breakpoint which was invisible on old tab. It was positioned couple line below than the debugger pause was happening. After removal the breakpoint the issue had gone.

Upvotes: 0

xxkazunarixx
xxkazunarixx

Reputation: 74

Open dev tools, go to the sources tab, and in the top right corner is a stop sign icon with the tooltip text 'Pause on Exceptions'. Make sure this is turned off. Here's a screenshot.enter image description here

Upvotes: 0

Kayce Basques
Kayce Basques

Reputation: 25897

To ignore all breakpoints (including debugger statements):

  1. Open DevTools.
  2. Click Deactivate Breakpoints.

    Deactivate Breakpoints

  3. Reload the page.

Upvotes: 5

Related Questions