In IE’s alert window, the line number of an exception is almost always incorrect and nowhere to be found. After a frustrating start today, I went searching for what I hoped to be an extensions or something similar to improve IE’s functionality.
I found out that there are a couple of them. Microsoft released a new script debugger with their latest Microsoft Office (XP/2003), called ‘Microsoft Script Editor’. As an alternative you can also use the ‘Microsoft Script Debugger’ which is free to download from the Microsoft website. I never noticed it, but could it get any worse? I gave it a try and it presented me with more useable information of what IE was complaining about, so it made me very happy.
Before using any of these script debuggers you will have to enable debugging in IE.
Go to tools->internet options->advanced. Make sure that “Disable Script Debugging (other)” and “Disable Script Debugging (Internet Explorer) are NOT checked.