I use Chrome Developer Tools to inspect a page online and hit debugger breakpoints in the site's scripts. I did not set these breakpoints. How are they there?
Asked
Active
Viewed 262 times
1 Answers
0
Maybe they are error/exception breakpoints. Check if pause on exceptions is enabled, or step over and check if exceptions appears in the console.
Edit: other posibility is that code include debugger instructions (debugger statement...) as defined in Programmatically stop JavaScript execution in Firebug

user1039663
- 1,230
- 1
- 9
- 15
-
No. That control is not activated. The breakpoint brings up a tab "VM 153" that has a function debugger() – aaronbnb Feb 09 '20 at 04:29
-
1Then it could be the debugger instructions as defined in https://stackoverflow.com/questions/1265623/programmatically-stop-javascript-execution-in-firebug – user1039663 Feb 09 '20 at 04:43
-
Silly me. Debugging and breakpoint functionality did not used to come natively in the browser. Breakpoints had to be written in manually. – aaronbnb Feb 09 '20 at 19:15