In IE 6, the following error appears:
Line: 454 Char: 13 Error: Invalid Argument Code: 0 URL: xxxxx/Iframe1.aspx
and I canβt find the reason for this for me.
This only happens when I have a main page with multiple IFrames, and this only happens when I have one specific IFrame (the one pointed to by the URL in the error message), and that the IFrame is invisible load time .
I narrowed it down there, but I still can't find anything more specific ...
The IFrame in question does not have 454 lines in its HTML file, and not one of the JS files associated with it.
I tried connecting VS to iexplore.exe as a debugger, and it breaks when an error occurs, but then tells me: "The source code is not available for the current location" ...
Any suggestions on how I can chase this?
UPDATE: I found this problem with brute force, basically by commenting everything and uncommenting randomly ...
But the question still stands: what is the rational way to find where the error is when IE reports the wrong line number / file?
javascript debugging internet-explorer
Daniel Magliola
source share