I have some JS code that crashed in this place:
alert("Before undefined error! "+i); -> next = A[i][prop].nextSibling; alert("After undefined error! "+i);
The error occurs because
undefined and I got
'undefined' is null or not an object error.
In the usual mode of execution, it just stops after second line, but when in debug mode (I use standard Developer Tools) execution of the code continues. Why?
Find the submenu of the Script panel in the IE Developer Tools, then click the configuration icon(or press Ctrl+Alt+O). Check "Break on Error"(or press Ctrl+Shift+E) to stop execution at that point.
©2020 All rights reserved.