Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Understanding unreachable breakpoints in IE11 F12 Developer tools

I have an issue I'm trying to debug on our website, where a particular javascript routine is not being found. I'm at a loss to identify why, but my thinking is that if the F12 Dev tools can't reach the code for some reason, then anything in that script block is inaccessible and will not be executed.

Is there somewhere I can look to for an explanation of why code in one script block is reachable, and another, seemingly identical block is unreachable?

Illustration of reachable and unreachable code

like image 300
Daniel Bragg Avatar asked Nov 19 '22 23:11

Daniel Bragg


1 Answers

replace with language="javascript" or remove language="JavaScript"

As per https://msdn.microsoft.com/en-us/library/ms533940(v=vs.85).aspx for attribute language.

javascript

Script is JavaScript.

Please refer this and this

like image 131
Vikas Sardana Avatar answered Dec 15 '22 22:12

Vikas Sardana