firebug

Have Firebug Break when a global variable X is defined

We have a very large JavaScript application where after many months of coding there have inevitably sprung a couple scope slip ups where a variable is defined in the following fashion: function() { x = 5; ... } instead of: function() { var x = 5; ... } This is happening somewhere -- We're not sure where -- and s...

Ajax problem using MooTools/jQuery - p.onStatusChange is not a function

Hello, I get the following error in firebug in Firefox 3 with both MooTools and jQuery: "p.onStatusChange is not a function". I've noticed this error frequently in firebug since one of the latest updates of FF3. However, it has started appearing with code that hasn't been changed in some time and that was not reporting errors previous...

What features does Firebug have that Safari 4's web inspector does not?

I'm always hearing that Firebug is the best for web dev. I prefer to use a webkit based browser, and I use Safari 4, or Webkit. I don't mind the web inspector. That's the background. I'm wondering what features does firebug have that Safari 4 does not? If it's compelling, sure i'll give it a shot, but i've been working with it today...

Dojo and Firebug

I just started a new project with the Dojo toolkit, and no sooner did I drop my dojo.js script tag in than firebug started telling me Could not load 'dojo._firebug.firebug'; last tried './_firebug/firebug.js' I know dojo has a reputation for bad debugging messages, but this is ridiculous.... If anyone has any ideas about this I would...

Is there a hot key to run the contents of the Firebug Console?

If you're using Firebug (Firefox) and you type in javascript in the Console command line and press enter it executes. However, for good reason, when you expand the command line into a multi-line text area to the right then pressing enter does not execute the code. Instead you have to click Run at the lower left of this window. Is there ...

Firebug internal error message

Hi great folks! I'm using Firefox: 3.5 and Firebug: 1.4.0.b3 On my local Ethernet site I am getting an error message in my firebug console: [Exception... "Component returned failure code: 0x80540006 [nsIStreamListener.onDataAvailable]" nsresult: "0x80540006 (<unknown>)" location: "JS frame :: file:///Users/max/Library/Appl...

firebug reporting reference to undefined... jquery.cache [id] [name]

I am trying to learn javascript/jquery, using firebug to debug and have built a page, which I have reduced to a minimal below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <script src="jquery-1.3.2.js" type="text/j...

Jquery Ajax problem

I have updated the html of a div using the Jquery Ajax. It is working fine: but after that when i see the html of the div in fire bug the html is not updated. I mean to say that this Jquery Ajax is working fine when i see it as a user, but when i see the html using the Fire bug it is not updated. This has blocked my further functiona...

How to debug CSS/Javascript hover issues

I often find myself wanting to debug CSS layout issues that involve DOM changes caused by Javascript in reaction to a hover event or different CSS rules applying due to the :hover selector. Normally, I'd use Firebug to inspect the element that's giving me trouble and see what its CSS properties were, and where those properties come from...

Permission denied to get property XMLDocument.readyState

Hello all, I keep getting this error everytime I make an AJAX (iFrame) request to upload a video to viddler. Permission denied to get property XMLDocument.readyState ajaxupload35.js (line 455) [Break on this error] if (doc.readyState && doc.readyState != 'complete'){ Line 455 to 460 is this: // fixing Opera 9.26 if (doc.readyS...

what is "this._processor is null" error on firebug?

Hello, I get the following error on firebug: this._processor is null and the error is from the file below, it seems like a default component of Firefox but i don't know what it is for either. file:///Applications/Firefox.app/Contents/MacOS/components/nsLivemarkService.js it appears after a while when my application is idle. Do yo...

Firebug doesn't load JavaScript files or stop execution on breakpoints

I'm new to Firebug and having a lot of trouble. JavaScript files usually show up empty, or load partially (some of the time) Lines are not available to set breakpoints on frequently (line numbers are greyed out) When I do set breakpoints, script execution often does not stop on them I'm using Firebug 1.3.3 and Firefox 3.0.11. I have ...

What does RED text mean in the Firebug net tab?

I can't seem to find any help on this but under the NET tab in Firebug one of my sites is showing red highlighted items. Unfortunately the site is protected right now so I can't posted the link. Can anyone answer what this means? (image here) http://imgur.com/hueWT.gif ...

Reading time reported in the Firebug Net tab

See this screenshot from Firebug's Net tab: I know that: The time between 1 and 2 is the time taken by my app to generate the HTML and for the data to make its way to the browser. The time between 3 and 4 is the time taken by my JavaScript initialization code which runs on DOMContentLoaded. But what about the time between 2 and 3?...

javascript selectlist remove all options

I have a <select> list which has been populated with several options, but want to remove those options to start again. I am using Jquery, and have tried: $("#selectId").length = 0; but this seems to have no effect. Part of my problem is that I am using firebug to debug, but the code does not break at the breakpoint, so I cannot s...

Setting a watch expression in Firebug: ReferenceError - s is not defined

I'm trying to understand how to use firebug to debug my Javascript. So I have the HTML listed below. And I want to set a watch expression on the var 's'. I went to the Script tab of Firebug and opened the Watch pane and entered s into the area that says "New watch expression". I get an error: ReferenceError: s is not defined Why? ...

Is it a bad idea to leave firebug "console.log" calls in your producton JavaScript code?

I have a bunch of console.log calls in my JavaScript. Should I comment them out before I deploy to production? I'd like to just leave them there so I don't have to go to the trouble of removing the comments later on if I need to do any more debugging. Is this a bad idea? ...

Why Are There Multiple GET Requests Shown in Firebug?

So I'm at the stage in web programming where I'm past the "Look, Ma, I can put data in a grid and it shows up on the page." I'm now at the, wow, this site is not as snappy as I want it to be. So, I enabled the "Net" tab in Firebug, closed my eyes, crossed my fingers, and went spelunking. The first thing I noticed is that all of my .as...

What coding conventions that help jQuery and Firebug work together?

I'm fairly new to both tools and need to go hardcore with both as I manage, monitor, and tweak a new site's design process. What sort of strategies should I ask be implemented that sets a good solid foundation for debugging, testing, and logging? [to the degree that back-end stuff can play a role - it's .net mvc thx ...

Tools Debugging CSS in Internet Explorer

Are there tools other than Firebug Lite that might help one get into Internet Explorer's buggy little mind and find out precisely where and why it's mangling my CSS so badly? Firebug Lite is a useful tool of course, but it seems to be missing the crucial feature (present in the 'full' Firebug plugin) that allows you to see which parts o...