Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug a stack overflow error in IE8

In my application, I am getting following error in IE8 (IE7 standards document mode)

It says

SCRIPT2343: Stack overflow at line: 1 
SCRIPT28: Out of stack space 
jquery-min.js, line 1 character 30159

I do not get these errors in Firefox and Chrome.

Since my application code is quite huge, I am unable to understand how do I debug exactly in IE. Is the jquery-min.js that IE is saying the actual cause OR that might not necessarily be the issue?

Can I use the Developer toolbar to somehow debug this stack overflow issue? Or is there another way to debug?

like image 939
copenndthagen Avatar asked Oct 21 '22 04:10

copenndthagen


1 Answers

You can debug script in IE using IE developer tools. Just press F12 to activate developer tools. IE also comes with an in built developer tool like Google chrome(not not that user friendly). But you can still use it to debug script and to watch call stack. use debugger; like we use in other debuggers.

You can get better control in script debugging using visual studio. If you a .Net developer you can use VS itself to debug JavaScript.

Find more here

like image 160
Aneesh Mohan Avatar answered Oct 23 '22 19:10

Aneesh Mohan