firebug

JavaScript Error occured with JSONP in bookmarklet

The following Error occured in FireBug Firefox3.5.2 Failed to load source for: http://example.com/ My bookmarklet is javascript:( function(){ window.callback = function(d){alert(d)}; var script = document.createElement('script'); script.setAttribute("type", "text/javascript"); script.setAttribute("...

Firebug console not clearing between refreshes

Hi, I just got the firebug update 1.4.2 but now my console log doesn't clear itself between refreshes... Anyone have any idea if this is a feature or a bug, and how to fix it? ...

Having trouble using jquery and firebug

I'm trying to use the jquery csv plugin to load a csv file into an array. However, firebug is not very happy with it. Firebug keeps saying "not well-formed" when processing the csv file. The csv file looks like this: "PC0003","Windows XP Professional","2006/01/05" "PC0002","Windows XP Professional","2006/01/10" "PC0001","Windows XP Pr...

Why does Firebug add -moz-* styles when inspecting element CSS?

Whenever I inspect page elements in Firebug, I always see it adding styles such as... -moz-background-clip:border; -moz-background-inline-policy:continuous; -moz-background-origin:padding; ... etc, to the Style box. Why does it do this? ...

Programmatically stop Javascript execution in FireFox/FireBug

I am currently debugging complex Javascript/AJAX code written with mootools with FireBug. I am looking for a way to stop the JS execution as if it was a breakpoint programmatically. Ex: instructions ... degugger.breakpoint(); // the execution stops here as if a breakpoint was // manually set other instructions .....

How to measure database performance?

I'm developing a web app that will access and work with large amounts of data in a MySQL database, something like a dictionary/thesaurus. I need to test the performance of the DB as its size increases, so I know how slow each request will be in the future. Any ideas? Like are there specific tools to check DB performance for a particular...

Debugging javascript functions

Is there a way in Firebug (or any other debugger) to see the functions that are being called as a page loads? Edit: Breakpoint is really not what I'm looking for- I'd like to see the functions being called with the arguments that are being passed as I work on the page - something similar to the console - where I can see Http AJAX Post m...

FireBug not working with ASP.NET MVC

Hi All I have started a new ASP.NET MVC project and have included the ExtJS library files. This all works fine when built from Visual Studio and i can display various ExtJS objects. The problem however is that FireBug has stopped showing errors in the Console, even when i type nonsense into the code block. Setup is: VS 2008 SP1 FireB...

How to set firebug to only run on certain sites?

Hi they keep chaning the firebug UI like ever week these days and I not really sure what happened to the option of enable firebug on "this page". It only has it for every website or no website. It is really annyoing both of these options. Since every site I go to firebug comes up and gets in the way but if I have it off then I have to ...

How to get Javascript function's source code from specific site using firebug?

With firebug I found that clicking on the link calls javascript function <a href="#" onclick="viewHide(this);return false;"> But I couldn't find it's implementation in page source. Is it possible to get it? The site is in hebrew, but I don't think it's problem :link text to trigger for this function click on any comments title that f...

What does Firebug "XML cannot be the whole program" error message mean?

I just got this error message in Firebug. A google search reveals nothing but other mystified people! Does anyone have any idea what it means? It's being indicated on the last line of this 3-line script: <script> g_BuildServer = "/"; </script> ...

disable firebug on site when loaded

Hey... is it possible to disable firebug when a page is loaded ? i tryed console.disabled; but did't work.. any idéa ? thx ...

What exactly is the 'Waiting for response' msg on Firebug's Net tab?

As sou can see from the screenshot most of the time spent is waiting for a server response (thats the purple coloured area). What exactly is that server response time? Is the server too slow? Is my connection too slow? Can't the server process much information at once (I've got many files there, I know I'll combine them to fewer)? What ...

FireBug extension to examine PHP variables

We have FireSymfony that allows one to view the Symfony, PHP variables in a firebug panel, so I wonder whether there is a similar extension that allows me to view PHP variables for general PHP apps ( not just Symfony apps)? ...

How can I use FireBug to tell what's causing slow page loads?

I'm working on a complex page with multiple scripts, css files, lots of dynamically generated html, scripts loading scripts, all kinds of crazy stuff. Naturally, the page can load quite slow sometimes. I'm finding it difficult to tell, in realtime, what exactly is slowing it down. Can FireBug's "net" tab help me with this? I've looked ...

Can Firebug be required to run my website?

I'm working on a new project which has some complex javascript. I can't post any code so that's not what my question is about. I have a script which works in Firefox 3.0. It was pointed out that the script did not work in Firefox 3.5, so I'm trying to make it work. Indeed the script didn't produce the expected results, so I installed th...

firebug fails to report error like "if(maxi - 1 = i)..."

I missed a "=", should be: if(maxi - 1 == i)... but firebug didn't report anything. And it took quite a while for me to found it. Is it a bug of firebug? ...

Use Javascript to open/activate Firebug

I've been looking for a solution to use Javascript to open or activate Firebug. You see by default, Firebug is deactivated/closed at the corner of the status bar. You need to click the icon to activate Firebug (the icon becomes coloured). Is there a way to activate Firebug via Javascript in the javascript code? see following: // ch...

Zend Framework 1.9.x and Firebug

Anybody here can point me on the right direction on using firebug for logging on Zend 1.9.x ? I am using this : (from Zend Framework Manual page) // Place this in your bootstrap file before dispatching your front controller $writer = new Zend_Log_Writer_Firebug(); $logger = new Zend_Log($writer); // Use this in your model, view and co...

Getting Started with Firebug

Can anyone recommend a "Getting Started" document for Firebug? ...