firebug

What't the common idiom to avoid IE throw: Error: 'console' is undefined.

I install firebug and I'm done with my logs. I test it in IE and of course I've got "undefined" error. What's the common idiom to avoid this. I don't really feel like commenting all the console.log statements in my file nor to mock it. Well I'm not sure what to do. ...

FireBug and monitoring JSONP cross-domain requests

This question is specific to the Firebug plugin for Firefox. The actual functionality works, but I lost my ability to monitor and debug it in Firebug. I had a website which used JSON to get data. In Firebug, I was able to monitor the JSON requests. It would show me each one of them, the headers, and the data that was returned. I needed...

How do you stay on top of a complex JavaScript project?

I'm using Firebug to help figure out what's going on in my JavaScript (+JQuery) code. I'm mainly using it to print out tons of console.log statements. This is probably not the most efficient way to stay on top of the project. As it has grown from just a few functions to over a hundred I am starting to get confused about how everything fi...

Javascript + Firebug : "cannot access optimized closure" What does it mean?

I just got the following error in a piece of javascript (in Firefox 3.5, with Firebug running) cannot access optimized closure I know, superficially, what caused the error. I had a line options.length() instead of options.length Fixing this bug, made the message go away. But I'm curious. What does this mean? What is an optimiz...

Is it possible to type style sheets in Firebug fast and convenient ? (as in Aptana)

For example, when I type the first of the parenthesis in Aptana, the second appears immediately, then I need only to press enter, it makes some white space, and I can type further. A small feature that saves a lot of time! But in Firebug it is not. So, is it possible to use that feature in Firebug? Is there any Firebug's plugin that all...

How do you use the multi-line Console in Firebug?

The Firebug addon for Firefox supports a multiline Console, but how do you return values to show up in the Console's output? When I press "Run", all I see is a copy of my source code. ...

CSS - How to view computed font size?

When you specify font sizes in "em" units, the browser calculates the pixel values based upon its parents. Is there a way to view the final computed pixel size? Can Firebug do this or is there another tool. ...

How do you log to Firebug from an extension?

I'm writing an extension for Firefox, and I need to log some data to Firebug's console. Within the scope of my addon, "console" is undefined, and "window.content.console" is also undefined. So how do I log to the console? ...

How do I enable Firebug 1.4 only for specific domains?

Firebug 1.4 has an option to enable or disable it for all pages. However, I (usually) only want to temporarily enable it for just one domain. In earlier versions, this was trivial, but I can't find anyway to do it in 1.4. (To give context, I typically have several windows open with several tabs each. Many of the sites open are ajax h...

Why is Firefox removing the form tags from an XHR?

I have an XHR inside of a form on my webpage that returns a Lightbox with another form in it. In Safari/Webkit, everything works great, and the form submits as expected. However, on Firefox 3/3.5, using Firebug to look at the source, it appears that the tags have been stripped out of the XHR. I KNOW that my app is generating the form...

Firebug 1.4 activation

The new Firebug 1.4 activation is a serious problem for me (if you don't know what I mean see http://www.softwareishard.com/blog/firebug/how-to-enable-and-disable-firebug-14/). For one thing it was fine (possibly great) before. Additionally I commonly want to watch some activity in the console then check out what happened in the net tab ...

Is it possible to code in Firebug and save to remote directory?

This would save enormous amounts of time, as Firebug is what I use to debug anyways. I would just like to save the changes I've made to a remote or even local directory. Is this possible? (bonus: can I do php development also, and not just html/javascript/css?) ...

Weird browser / ajax error : Extra junk appears at the end of javascript files in firefox

This is a weird one. We're writing a Django application with some rich javascript UI, using both Yahoo YUI and jQuery. Our main page template now includes a fair number of js files. And we're starting to see a strange error in Firefox (3 and 3.5) . Sometimes the javascript crashes. And inspecting in Firebug we see that a syntax error o...

DIV and TABLE widths not rendering properly using CSS

With this html: <div class="sectionheading">User Information</div> <table id="UserInputTable" class="xInputTable"> ...and this CSS: .sectionheading{width:100%; font-size:20px; font-weight:bold; background-color:#28BA87; color:white; text-align:center; border-style:solid; border-width:thin; border-color:Black; border-collapse:separa...

Exclude files from Firebug Profiler?

Is there a way to exclude a file/scope from Firebug's Profiler? I would like to profile my app without it looking through jQuery at the same time. :) ...

How to quickly and conveniently disable all console.log statements in my code?

Is there any way to turn off all console.log statements in my JavaScript code, for testing purposes? Thanks! ...

Firefox extension to display inheritance from browser defaults?

There are times when looking at a computed style in Firebug, it's not evident how a value is computed or what its origins are. In some situations, the source is the browser's default. In web sites that are already constructed, it's not feasible to inject a css reset which will result in breaking all the pages. Is there a way in Firebug,...

Firebug Net Panel Logs

Is there a way to have firebug retain the activities log even after navigating to another page? ...

Multiple Instances of Firefox and Visual Studio

After upgrading to FF3.5, I noticed Firebug is slower. A lot slower, it is annoying to debug web applications and have to wait 5 seconds to open a tab. After some googling, I got FF3.0 and FF3.5 running side by side, with different profiles. Now I can use GMail, Google Docs, and all the Google Apps we use here at work in FF3.5 (a lot fa...

How do I POST to a web page using Firebug?

How do I POST to a web page using Firebug? ...