ie-developer-tools

IE Developer Tools breakpoints are not working

旧城冷巷雨未停 提交于 2020-04-10 06:48:11
问题 I'm trying to debug some javascript in IE 11 and I'm not able to force it to stop on a breakpoint. debugger; line works fine (stops debugger in that line), same file without a debugger; line but with a breakpoint set in the same place does nothing (function works fine, but debugger does not stop on a breakpoint). Chrome's and Firefox's debuggers stop on breakpoints in the same places. Any thoughts what could be the cause of this behavior? 回答1: Hamlet, in the comments to OP question, gave the

Anybody know why IE9 typeof console.log reports “object”, others report “function”?

大城市里の小女人 提交于 2020-01-13 11:08:14
问题 In Firefox/Chrome/others, typeof console.log reports "function". In IE9, (assuming the Developer Console is open, thus defining the window.console property), if you show the variable console.log in the developer console, shows function(...) { [native code] } yet it reports typeof console.log as 'object'. The standard says that functions are supposed to be reported as 'function'. Anybody know why this occurs? 回答1: It seems to be a bug in IE, as many (or all) console elements that should be

Change IE9 to IE8 with Selenium WebDriver in Ruby

丶灬走出姿态 提交于 2020-01-02 21:03:12
问题 I am using Selenium WebDriver with Ruby and am attempting to create a script that will test in IE8. I am unable to find an answer on how to set iedriver to launch in IE8 mode or how to switch it to IE8 after webdriver has launched. I am on Windows 7 so I only have IE9 available to me. The code I am currently using to launch webdriver in IE9 is $driver = Selenium::WebDriver.for :ie Any help would be greatly appreciated. I have looked high and low but cannot find any sort of answer to this

jQuery AJAX requests failing in IE8 with message 'Error: This method cannot be called until the open method has been called.'

故事扮演 提交于 2020-01-02 04:28:07
问题 I'm using jQuery 1.4.2 and am trying to perform a simple AJAX request. The target URL returns a JSON string (I validated it with jslint). The request works in Firefox and Chrome, but doesn't want to work in IE8, and I can't determine why. Here is the call: jQuery.ajax({ url: 'http://' + domain + '/' + 'helper/echo/', dataType: 'json', success: function(data) { alert(data); }, beforeSend: function(request, settings) { alert('Beginning ' + settings.dataType + ' request: ' + settings.url); },

IE Developer Tools - show generated DOM

本秂侑毒 提交于 2020-01-02 01:03:20
问题 How do I make IE8 Developer Tools to show DOM that was generated after JavaScript was executed? Currently it displays only the static layout. FireBug handles this correctly, but I need to have a look in IE. 回答1: There is a refresh button. That should reload the DOM tree. 来源: https://stackoverflow.com/questions/2665147/ie-developer-tools-show-generated-dom

Facebook XFBML is not rendering in Internet Explorer 8

守給你的承諾、 提交于 2020-01-01 09:38:24
问题 I put up this test page to illustrate this issue: (dead Link) Every browser I've tested on has worked but in Internet Explorer 8. The odd part is that Internet Explorer 8 doesn't even report an error, WOW, and that is something. So right now I'm stuck with to nothing to work on or debug. What have I overlooked? 回答1: So somehow the xmlns attribute that I had previously set to the HTML tag was gone, probably me undoing things like crazy. Here is how it should be if anyone encounters this issue:

IE8 Javascript doesnt run unless Developer Tools is open?

淺唱寂寞╮ 提交于 2020-01-01 08:46:48
问题 For some reason, in IE8, javascript is not running unless I reload the page with Developer Tools open. I close developer tools and reload the page and the javascript stops working. I'm not getting any error reports (not that they'd be any use anyway). Anyone else had this problem? 回答1: Often that's because you left a console.log call in your script. This only works when a debugger is present. You should get a JS error on trying to use it unless you have them turned off. 回答2: Close Developer

How to install Firebug lite IE8?

只谈情不闲聊 提交于 2019-12-31 11:42:47
问题 So we have reached that stage in a web dev project where we need to see how things look in IE. Sigh. So the fabulous Firebug is not available for IE. But a lite version is - as a bookmarklet, and is apparently compatible with IE6+. But how the how the hell do I add a bookmarklet to IE8? I am unable to drag and drop to the Favourites bar (is this the same as bookmarks?). I can't add it through the Favourites add option as it contains "illegal" characters. So how do I do this? All I want to do

IE8 Developer Tools Javascript Minimized

浪子不回头ぞ 提交于 2019-12-24 08:29:25
问题 When I open the IE8 Developer Tools (using F12), click on Scripts, and choose the project's .js file, the Javascript that is displayed is minified. This makes debugging almost impossible. In researching, I found a reference to a "configuration button" that appears would pretty-print the Javascript source. Unfortunately I cannot find that button in the IE8 Developer Tool tool-strip or menu. XP SP3 TIA Gus 回答1: unfortunately that is only available in IE9's developer tools, in the configuration

How to launch IE8 debugger with debugger; command

a 夏天 提交于 2019-12-24 06:29:44
问题 The javascript command 'debugger;' will start a debugger. debugger; But (with Visual Studio 2008 installed) I cannot seem to figure out how to get this to break into the IE8 debugger. It will give me a list of choices such as VS2008, VS2010, Microsoft Script debugger. If I do the following it will break into the (lightning fast) VS2008 debugger... throw Error("d"); ... but I want to get it to do so when I use the 'debugger;' command. How can I do this 回答1: Step 1: Open the page you want to