firebug

How to debug Javascript error?

How to Debug java Script Error Using Firebug? Duplicate How can I set breakpoints in an external JS script in Firebug ...

Interactive Javascript console (preferably integrated with Firebug)

I'm looking for a way to have an interactive JIT debugger, preferably integrated with Firebug. I got the idea from PHPEd, which has an "Immediate" debug tab where you can just type in PHP code and modify objects on the fly. This makes debugging a breeze as you can re-assign variables multiple times, re-execute functions, etc without lea...

Enable all firebug tools for ALL webpages?

Hey everyone, I'm using Firebug 1.3.3 with Firefox 3.0.10, and I wanted to know if it was possible to enable the Console, Script, and Net consoles all the time. It used to be such that it was always on. Now, if its disabled I have to manually turn on each tool and send requests again to see whats going on. Is there any way to do this...

Firefox Firebug Extension - Freeze Javascript Feature?

How can I freeze Javascript in firebug so that i can inspect the changes made by it in the html? If for example i have a jQuery rollover effect and i want to inspect the html code in that point in time. I believe Dreamweaver CS4 has this feature titled freeze javascript and live code. Is there a free equivalent either in Firebug or anot...

Making Firebug break inside dynamically loaded javascript

Hi, I'm looking for a way to debug a dynamically loaded jQuery document.ready function. Obviously I can't just bring up the script panel and add a breakpoint with the mouse since the function does not exist there. I've also tried adding "debugger;" to the function (without the quotes), but that did not do anything. I have ensured t...

stop firebug from re-requesting html source

I am working with a page that takes about 10-15 seconds to load, because it runs a huge SQL query, and it seems that firebug re-requests the source every time i try to use it. Has anyone else run into this? Is there a way to turn this off? ...

dynamicaly loaded js function does not appear in firebug js debugger

Hi. There is a page1.html (I open it in browser): <div id="content"> </div> <script type="text/JavaScript"> jQuery.ajax({ type : "GET", url : 'page2.html', dataType : "html", success : function(response) { jQuery('#content').append(response); } }); </script> Code of the page2.html: <script...

firebug net tab 0 request problem

I've step into a problem with firebug, say under the "Net" tab,it always shows "0 request" But I've already "enabled monitor for xxx" Has any one met the same problem before? What can I do to make "Net" tab return to normal again? ...

Firebug and CSS cache not showing new selectors

I'm confused by some behavior in Firebug. I'm trying to update my CSS and I made changes to the actual CSS file and saved them. If I update a directive on an existing selector, those changes will be rendered when I reload the page. However, if I add a new class ( e.g. boxQuestion ), and create a new selector, it won't render at all. T...

Changing Javascript Focus in onClick event?

Note: A possible solution needs only work in Firefox 3.0, my app doesn't allow access from IE! =) I have a link that, when clicked, will display a lightbox to the user: <a href="#" onclick="show_lightbox();return false;">show lightbox</a> My problem is that when the lightbox is displayed, the focus remains on the link. So if the user...

how to use Firefox but pretend that I am using iPhone (to use Firebug to examine the page design)

Is there a way to use Firefox and Firebug but pretend it is iPhone's Safari by faking the User Agent string? I want to use Firefox to examine the Amazon or Gmail sites and see how the page is laid out for iPhone... just for fun and for experiment. Is there a way? thanks? ...

Javascript best practice: handling Firebug-specific code

Firebug is certainly a wonderful tool for javascript debugging; I use console.log() extensively. I wanted to know if I can leave the Firebug-specific code in production. What's the best practice? Commenting the debug code? ...

Debugging the base URL element with Firebug

I'm adding the base URL tag to the document head using JS, so the relative links on the page work. But it does not take effect, and Firebug (debugging addon for Firefox) shows the <BASE /> element greyed out.. why? Does this mean Firefox cannot understand it or the syntax is incorrect? ...

Debugging not working in Firefox - Firebug

I'm trying to debug an extJS based JavaScript form in Firefox 3.0.8, with Firebug, but none of my debugging statements are working. console.log produces the error console is not defined in the console. The debugger statement just doesn't work. ...

Is it possible to find JavaScript events that are tied to a specific piece of HTML?

I'm working with someone else's code, and I want to be able to see what JavaScript they have tied to a particular button on the page. Is there some way to watch what code is being fired off by clicking the button in FireBug or something? ...

Is there a way to have firebug show the Console and HTML windows at the same time?

I'm frequently testing code that manipulates the DOM. I can paste it and run it in the console then switch to the HTML tab to see if it had the desired effect. Then when I switch back to the console view my code is gone and I have to re-paste it. This is a pain. What I'd really like is to have the console in a right window and the HTML ...

Can Firebug or any tool inspect the element and actually tell which font is being used? (instead of a list)

Usually on Firebug, when inspecting an element, I get a list of fonts, and will actually need to go to the system's Fonts folder and check the names one by one to see if that's the one being used. Is there a way to show the font being used directly using Firebug? Or if Firebug doesn't have this feature, can any other add-on do that? ...

misspelling javascript function alert to alerler('hell'); and firebug doesn't report an error?

misspelling javascript function alert to alerler('hell'); and firebug doesn't report an error. Why is that? It is enabled for localhost (or my site). ...

"element.dispatchEvent is not a function" js error caught in firebug of FF3.0

Hi All, i am getting the following error while loading my index page in FF3.0. Sorry, i am unable to paste the script here as it is 2030 lines of code. element.dispatchEvent is not a function on expansion it gives me below things, fire()()prototype.js?1 (line 3972) _methodized()()prototype.js?1 (line 246) fireContentLoadedEvent()prot...

Firebug - Apply Settings to IP Range

Hey guys, I realize this isn't strictly programming related, but since it has to do with a common development tool, I figured it was still appropriate. I am developing a website and my main access to the code is via a virtual machine whose IP address changes every 2-3 days. It is getting very annoying to have to re-apply settings for F...