admin管理员组文章数量:1415664
I'm currently experiencing an intermediate problem with some inherited client side javascript. Every so often the users' experience a browser hang with the cursor being an egg timer and then the browser failing to respond.
I'm having real difficulty in determining where the issue is arising from. Short of disabling large chunks of javascript at a time is there any way to detect a hang in internet explorer and then examine the stack trace to determine the last few functions called in order to localise the problem?
Any help with this would be really appreciated.
I'm currently experiencing an intermediate problem with some inherited client side javascript. Every so often the users' experience a browser hang with the cursor being an egg timer and then the browser failing to respond.
I'm having real difficulty in determining where the issue is arising from. Short of disabling large chunks of javascript at a time is there any way to detect a hang in internet explorer and then examine the stack trace to determine the last few functions called in order to localise the problem?
Any help with this would be really appreciated.
Share Improve this question edited Jan 13, 2014 at 20:24 Kara 6,22616 gold badges53 silver badges58 bronze badges asked Oct 13, 2008 at 14:43 Brian ScottBrian Scott4 Answers
Reset to default 4Update: You can use Web Development Helper or IE Dev Toolbar to trace your Javascript calls. Fiddler is also a powerful web debugging proxy.
If you want to eliminate the IE part of the problem, disable all unnecessary addons loaded in Internet Explorer first. I had a big problem with skype addons.
If you want to do low level monitoring, you have to use tools like Process Explorer and Process Monitor. They have functionalities to show the stack trace, your trace of files and registries being accessed etc from your IE.
For javascript profiling, you can use a tool like firebug.
Have you really no idea what so ever about which particular script could be causing the issue? IE8 beta 2 has some nice debugging / profile features, I would tend to look for the possible resource culprits (e.g google maps, ajax calls, dom manipulation table appending etc) and use the debugger to set breakpoints and monitor things this way. Also I would check using firebug profiler also to see which methods were being called most and taking the most time, you may gain an answer in those results or at least provide you with a starting point
I can repeat the same steps a number of times and have no error but then seemingly randomly I will get a browser hang. I guess what I'm asking for is a good strategy for tracking the bug and eliminating it when I cannot easily replicate it. I'd hoped there was a way of catching a global ie hang.
The application is IE only and not Firefox patible as the pany infrastructure does not support Firefox. Also, this also occurs on a stripped down virtual machine which has no ie addons or toolbars installed.
本文标签: javascriptInternet explorer hanging issueStack Overflow
版权声明:本文标题:javascript - Internet explorer hanging issue - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745230377a2648797.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论