Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome 'paused in debugger' issue

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".

like image 247
Jo H Avatar asked Oct 22 '12 14:10

Jo H


People also ask

How do I stop debug from pausing in Chrome?

It seems counterintuitive, but there are a couple of reasons this is really useful for those debugging sessions. TL;DR Right click in the area where you'd normally set breakpoints, select “never pause here” and you can prevent the debugger from stopping on exceptions or debugger statements.

How do I debug F12 in Chrome?

The Chrome Web Inspector and Debugger are conveniently built-in with Chrome. You can launch it by hitting F12 while in your browser or by right clicking on a web page and selecting the Inspect menu item. The images below show a few different views that you'll see in the Chrome DevTools browser.

How do I stop debugging?

Click Stop Debugging on the Debug menu to stop the target's execution and end the target process and all its threads. This action enables you to start to debug a different target application.


2 Answers

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

like image 64
Tim S. Avatar answered Nov 09 '22 06:11

Tim S.


This can also cause the issue

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

enter image description here

Should not grey like this

enter image description here

like image 28
Asif Asghar Avatar answered Nov 09 '22 05:11

Asif Asghar