firebug

using XPath to find node under a context node does not work (firefox/firebug/javascript)

I want to extract information from a web page. The page has m nodes, which can be found by .evaluate("//div[@class='news']", document, ....). For each of the above nodes, there are 3 nodes inside them. Each of them has different @class selector. And I want to extract these m 3-tuple records. I tried to use .evaluate() function as inst...

Am I crazy? Demos on jQuery's 'effects' page not working in any browser

Hi all, I want to make sure I'm not crazy, because I can't get any of the effects demos to work on jQuery's demo pages. I thought it might be my new Firebug version (1.5.2) or Firefox in general, but they're not working in IE or Chrome either. Here are the links where the demos aren't working. One is for highlight, and the other is for...

How to handle console.log and error output in JavaScript?

I have a constructor that has a series of classes and functions within it - in each function I check if the param is set to show the error and output if so. Like so using an inline if. The issue and question is short of keeping two versions is this approach not wise in that each IF has to be evaluated thus adding to the time it takes to ...

Does anyone know of a Firebug equivilant for Internet Explorer?

The question says it all. Inter Explorer's lack of standard compliance has struck, and driven me to the brink of madness. Does anyone know of a Firebug equivalent for IE8? ...

this === window in firebug

Hi guys, I wrote a simple webpage as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>pop</title> </head> <body> <script type="text/javascript" charset="utf-8"> document...

In Firebug, how to tell what is overriding a style?

I have this css: fieldset li { padding-bottom: 0em; } However, it wasn't behaving properly, and using firebug, I see that style has a line drawn through it, indicating it is being overridden. Is there a way in firebug to tell what is overriding a style? In the style tab, this is all I see: fieldset li { clear:left; float:le...

HTML chunk appears in DOM only when Firebug is running

I've been banging my head against this for the past few hours. I'm building an HTML chunk with Javascript and appending it to the page's DOM. Problem is this works only if Firebug is running and disabling Firebug doesn't help. When Firebug isn't running the code gets generated but not appended to the DOM (it's not that it's invisible o...

Firebug not breaking on errors

Hi. I reinstalled Firefox today, because... whatever. I reinstalled firebug, therefully, and now when I try to use it, it's all different. I believe it is the same version I had before. In fact, I even went digging through my trash and replaced the new firebug with the one I removed with the old Firefox. They ended up being the same ve...

Suggestions for debugging print stylesheets?

I've recently been working on a print stylesheet for a website, and I realized that I was at a loss for effective ways to tweak it. It's one thing to have a reload cycle for working on the on-screen layout: change code command-tab reload but that whole process gets much more arduous when you're trying to print: change code command-...

Dynamically created iframe used to download file triggers onload with firebug but not without

EDIT: as this problem is now "solved" to the point of working, I am looking to have the information on why. For the fix, see my comment below. I have an web application which repeatedly downloads wav files dynamically (after a timeout or as instructed by the user) into an iframe in order to trigger the a default audio player to play th...

jQuery and Firebug

I am using jQuery's cycle plugin, and found that I can call up the default for "speed" by typing this into Firebug's console: $.fn.cycle.defaults.speed >>> 1000 I would like to know how to call up the override I have for speed (I would like to reuse it later): $('.xxx').cycle({ speed: 1700 }); If you have t...

jquery error() calls showing up in firebug profile

I am working on an ASP.NET application that make a lot of jquery and javascript calls and trying to optimize the client side code as much as possible. (This web application is only designed to run on special hardware that has very low memory and processing power.) The profiler in firebug is great for figuring out what calls are taking u...

How to use Firebug's debugger functions?

I don't have an experience with any debugger in any language, but I recently found some videos showing Firebug. I'm now playing with Firebug with a script I included an error with. What I understand now is: I can set a breakpoint, which is shown as a red circle. Firebug stops at the breakpoint and gives me 4 options (Continue, Step I...

How may I use Firebug to view attributes of jQuery-retrieved objects at a breakpoint?

For instance, I've hit a break point on a line of code where I'm setting the height of one div equal to the height of another: $("#box_left").height = $("#box_right").height; How do I view the value of 'height'? All firebug ever shows me is 'function()'. :( ...

An image gives a 200 ok and (?) in firebug NET??

Hi, My website seems to load a bit slow around a random generate image. (just with PHP a random number). I am using firebug NET to see what is happening and i see this 200 OK 33.4 KB (?) and for the rest of the images 304 not modified Can the image with the 200 OK be the cause of slow loading?? It does display regards, ...

Firebug and jQuery selectors in an iFrame

Hi all, I'm working on a web application and using the jQuery plug-in Colorbox to pop up a window that presents a form for editing elements of the parent window. I'm using Firebug to debug my Javascript and jQuery, and I noticed that I can't select an element in my Colorbox HTML form using the jQuery console command line. For instance: ...

Is there any Chrome extension (or combination) providing the same features as Firebug?

I searched a while and found no extension that can compete with Firebug. Perhaps combination of several extensions can provide similar feature set of Firebug. Anybody develop web app and unit test mainly in Chrome can share some knowledge? ...

What is meaning of 'Blocking' in Firebug Net Panel?

I'm using Firebug 1.5.2 and while testing a site before production release i can see a huge amount of time consumed by 'Blocking' parts of the requests. What exactly does the 'Blocking' mean? ...

Strings in array are no longer strings after jQuery.each()

I'm pretty confused with the behaviour of arrays of strings when I loop them through the jQuery.each() method. Apparently, the strings become jQuery objects inside the callback function. However, I cannot use the this.get() method to obtain the original string; doing so triggers a this.get is not a function error message. I suppose the r...

Where do you include FirePHP in Wordpress?

I'm using require_once() in header.php to include the FirePHP library. In the page.php I'm doing the usual... $firephp = FirePHP::getInstance(true); $firephp->log($categories); Getting these errors.. 'Headers already sent....' and Cannot send log data to FirePHP. You must have Output Buffering enabled via ob_start() or output_buff...