Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to debug javascript errors on IE8

I am getting an error, when running a webpage on IE8. When I click on the error found, it says:

enter image description here

How can I go to this line to see where the error is happening?

I can't see this error on any other browser.

Also, it says:

line 109213803.

I don't understand this, as obviously I don't have so many lines of code.

Can someone explain what IE8 is telling me here?

like image 698
leora Avatar asked Mar 17 '11 03:03

leora


2 Answers

Make sure script debugging is not disabled for IE, otherwise it should allow you to debug the script directly:

enter image description here

enter image description here

like image 100
BrokenGlass Avatar answered Oct 05 '22 23:10

BrokenGlass


IE8 has a default built-in IE Developer tool, you can use that to debug that. Hit F12 it will open the Dev Toolbar then click the Script Tab and Start Debugging, then refresh your page. That's it!

IE8 Developer Toolbar

like image 32
rob waminal Avatar answered Oct 06 '22 00:10

rob waminal