Internet Explorer 7 Debug Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers ie7 developer toolbar or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x
Web Development Helper
Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it how to debug javascript in ie 11 only takes a minute: Sign up Debugging JavaScript in IE7 up vote 159 down vote favorite 69 I need to debug JavaScript in Internet Explorer 7. Unfortunately, its default debugger doesn't provide me with much information. It tells me the
Debug Javascript Chrome
page that the error showed up on (not the specific script) and gives me a line number. I don't know if that is related to my problem. It'd be nice if it could narrow down the error to a line number on a specific script (like Firebug can). Is there an addon to debug JavaScript in IE7 like Firebug does in Firefox? Thank you! See also: Does IE7 have a “developer mode” or plugin like Firefox/Chrome/Safari? javascript internet-explorer-7 share|improve this ie11 developer tools question edited Jul 8 '10 at 0:14 asked Dec 12 '08 at 1:33 alex 267k128651806 add a comment| 18 Answers 18 active oldest votes up vote 89 down vote accepted Web Development Helper is very good. The IE Dev Toolbar is often helpful, but unfortunately doesn't do script debugging share|improve this answer edited Jan 20 '14 at 10:16 Simon 1561218 answered Dec 12 '08 at 1:48 Bob 52.9k2398110 4 Worth noting, perhaps, is that you have to turn "disable debugging" off in the advanced options. –Dan Rosenstark Aug 25 '11 at 18:45 23 I don't see any script debugging options in the IE Dev Toolbar, and the lastest version of Web Development Helper isn't working, even after changing my advanced preferences and restarting IE7. –stevebot Aug 30 '11 at 16:14 2 I just installed WDH and it worked fine on IE7. –Ates Goral Feb 15 '12 at 16:14 9 The Web Development Helper link given above is defunct. Can anyone confirm that this is the same tool hosted here? softpedia.com/get/Tweak/Browser-Tweak/… –RMorrisey Oct 3 '12 at 14:20 3 Oh the irony; The softpedia download link for Web Dev Helper dies in IE7! (The dreaded "Operation Aborted" error.) –Sean McMillan Apr 17 '13 at 17:19 | show 6 more comments up vote 40 down vote The hard truth is: the only good debugger for IE is Visual Studio. If you don't have money for the
360 games PC games
Object Doesn't Support This Property Or Method
Windows games Windows phone games Entertainment All Entertainment
Firebug Lite
Movies & TV Music Business & Education Business Students & educators internet explorer 11 Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet http://stackoverflow.com/questions/361635/debugging-javascript-in-ie7 Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All https://support.microsoft.com/en-us/kb/308260 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Samples Retired content We’re sorry. The content you requested https://msdn.microsoft.com/en-us/library/gg699336(v=vs.85).aspx has been removed. You’ll be auto redirected in 1 second. Internet Explorer 9 Samples and http://bealers.com/2007/01/12/debugging-javascript-in-ie7/ Tutorials Debugging and Troubleshooting Your Webpage How to use F12 Developer Tools to Debug your Webpages How to use F12 Developer Tools to Debug your Webpages Using the F12 Developer Tools to Debug JavaScript Errors Using the F12 Developer Tools to Debug JavaScript Errors Using the F12 Developer Tools to Debug JavaScript Errors Introduction to F12 Developer Tools internet explorer Getting Started with the F12 Developer Tools Using the F12 Tools Console to View Errors and Status F12 tools console error messages Using the F12 Developer Tools to Debug JavaScript Errors Using F12 Developer Tools to Debug HTML and CSS Using the Profiler Tool to analyze the performance of your code TOC Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. This documentation is internet explorer 7 archived and is not being maintained. Using the F12 Developer Tools to Debug JavaScript Errors This content refers to an older version of F12 developer tools. Please visit our latest F12 tools documentation. F12 tools enables web developers to quickly debug JavaScript code without leaving the browser. Built into every installation of Windows Internet Explorer 9, F12 tools provides debugging tools such as breakpoints, watch and local variable viewing, and a console for messages and immediate code execution. Starting and Stopping the Debugger Using the Console to Find Syntax and Other Code Errors Make Ugly Scripts Pretty Breaking Code Execution Managing Multiple Breakpoints by using the Breakpoints Tab Conditional Breakpoints Stepping Through your Code Watching Variables with the Watch and Locals Tabs Looking at the Call Stack Debugging Multiple Scripts Changing the Document Mode Setting Related topics This topic discusses how to use the F12 tools to debug your JavaScript code. The purpose is not to be a comprehensive debugging tutorial, but to highlight the tools that can help get you started working with your own code. From Internet Explorer 9, press F12 to open the tools, and click the Script tab to get started. In the Script tab, you see the source pane on the left, where you can view your JavaScript code, set breakpoints, and step through
and alert(); becomes your only friend, or so I thought. I've recently done quite a lot of javascript DOM work for a site including some AJAX stuff and whilst it was a pleasure to develop in Firefox using Firebug, I'm now getting "it doesn't work" errors with IE 7 and I need something more. A bit of Googling comes up with a couple of useful links here and here which looked like good advice, so I followed it thus: Fire up IE7 Tools -> Internet Options -> Advanced: Disable script debugging (Internet Explorer) is ticked, untick it. Restart IE. Right click on the menu bar area and enable the Menu bar (mine was hidden anyway) then go to View -> Script Debugger -> Open. If you don't get a pop-up asking you to choose a debugger (I didn't) then you need to install the Microsoft script editor which comes with MS Office (weirdly). Just to check, Windows-key and F should bring up a search, look for MSE7.exe if you don't have it (I didn't) put your office CD in and run setup. Under office tools -> HTML Tools -> Web scripting -> Web debugging, right click and select "Run from my computer". Restart IE. View -> Script Debugger -> Open should now give you your pop-up, yay! Now you can open your page in IE and make it break, when it does you shoudl get a "Do you want to debug" message. Yes we do so a press of 'Yes' gives us the same pop-up, selecting the Script editor allows us to do things other than just adding alerts() everywhere. For example we can pause the interpreter, step over each line, add watches and other normal debug things. In conjunction with the View DOM option in the IE 7 developers toolbar IE almost doesn't suck so much now. Using the debugger doesn't automatically fix your code, though. Refererences: http://erik.eae.net/archives/2005/07/04/21.49.50/ http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html p.s. I only tried the other debugger option once, it didn't look all that so I stopped using it. ABOUT THE AUTHOR bealers HI, I'm Bealers and this is my blog where I share the ups and downs of my journey from burnt-out mess to productive and positive. If you're new to the site then you might want to start here. PREVIOUS POST← The Truth in Ad sales NEXT POSTSymfony job going → Stay up to date Occasionally