firebug

Can Firebug set breakpoints in external JavaScript files?

Is there any way in Firebug to set a breakpoint in an external .js file that a page links to so that it can be stepped through? (I suspect I've found a bug in jQuery and I want to be able to step through jQuery as it's handling events to see what it's doing.) ...

Firefox addon to open source file(s) in your favorite IDE

While developing a web application in Visual Studio, I want to be able to quickly open a source file (an xsl, a js, etc, not the "view source" result) in Visual Studio. My idea is to: Write out http response headers (in debug mode), identifying the local files (c:...\bla.aspx) that helped build up the response Read these http headers i...

Does Firebug have something built-in to disable all javascript for a site/page?

Does Firebug have something built-in to disable all javascript for a site/page? ...

reading the firebug console in javascript

I'm looking for a way to read the most recent command that was logged to the firebug console. For example, I could have something that does console.debug('The most current request URI is /sweatsocks'); And then another piece of (pseudo)code could then if (mostRecentConsoleEntry().endsWith('/sweatsocks')) { // do some stuff } The...

Is an anchor in nested list invalid or is this a firebug error?

Hello. Is there something wrong with the following HTML, or am I simply experiencing a Firebug error? When I view the first list element in firebug, you'll see that firebug has difficulty correctly identifying the anchor; however, it has no problem with the second (outer) list element. If I remove the nested list from the first list elem...

Debugging Ajax code with Firebug

I've a couple of problems debugging code returned in an Ajax call - specifically, a function returned in json (errors don't get trapped in Firefox) - up to the point where I started debugging these problems in Internet Explorer (I think it's a firefox related problem, as Venkman doesn't detects those errors either) Do you know of any way...

Firebug: Accessing in the console an object you just "looked at" in the DOM Inspector

You have a console.log(o) in your code. Now in Firebug you can click on the object in the console, which takes you to the DOM inspector. I thought there was a way to then access from the console command line that object you just inspected with $0, but it doesn't seem to work. Maybe something changed in Firebug, or I don't remember thi...

Using FireBug for a website with frames

I downloaded Firebug and attempted to use it to debug JS for a site that uses frames. My understanding is when I go to the Script tab in Firebug, I would see the JS functions on the aspx and the JS in any files that are included and I would be able to set breakpoints. However, all I see on this site is: </head> <frameset> <frame src...

firefox plugin that records traffic

Do you know of a firefox plugin that records the http traffic I generate while browsing? I would like something like firebug's net tab but it should not "restart" every time I click a new link. ...

Bash command to write the contents of multiple files into a single file

I'm wondering what's the best way to combine multiple .html files (spread across many folders) into one single html file. If someone could create a simple bash command that would be fantastic. (This is a workaround so I can use firebug's command line API to effectively search an entire site for html selector combinations. As far as I kno...

Firebug Profile

Hi, Can firebug profile work over HTTPS? I have used it over HTTP and it works but when I try it on HTTPS there is no details displayed i.e functions called, time taken etc. Thanks ...

Firebug - Breakpoint doesn't hit

I am setting breakpoints in an external JS file and I haven't been able to get Firebug hit the breakpoint in a consistent way. It works sometimes but most of the times it doesn't. The only way I can get it to work is by switching on "Break on all errors" I have used the debugger; statement as well without any luck. ...

browser cache bypassed in firefox?

Consider the following html page, which can load in many large png files: <html> <head> <script type="text/javascript"> function hide( ) { document.getElementById("here").innerHTML = "hidden"; } function show( ) { var loadMe = ""; for (var i=1; i<250; i++) { loadMe += "<img src='http://domain.com/" + i + "_a.png'><br>...

Firebug: How to inspect an element's associated event handlers?

Duplicate: How to find event listeners on a DOM node? How to debug Javascript/jQuery event bindings with FireBug (or similar tool) I am using Firebug to inspect HTML codes and CSS. I need to find what are the events and the handlers associated to an element. Using the Inspect button, I can see all the CSS, but can't ...

Firebug 1.3.3 - Doesn't always allow script debugging?

I've been working with firebug for a while now, but I've noticed recently that it doesn't always allow you to set a break-point in your code for some reason. The line numbers in the firebug debugger turn all grey and you can't get the program to stop on any of them. When I can get it to work, the lines you can break on turn green. I...

Using Firebug Lite (1.2) would you use it in production sites?

I tried to use Firebug Lite (via the bookmarklet and also adding it to one of my web sites). I seem to get the alert: "Unable to detect the following script "firebug-lite.js" ... if the script has been renamed then please set the value of firebug.env.liteFilename to reflect this change" Alot. Especially when I try to close the tab. Th...

Why don't visual studio javascript breakpoints work in firebug?

Why can't microsoft make setting a breakpoint in visual studio equivalent to adding the "debugger" keyword in javascript? I want to test javascript cross browser in a unified way. ...

How to dock Firebug in browser window?

How to dock Firebug in browser window after I opened in a new window? With Firefox 3.0.8 and Firebug 1.3 on Mac OS X 10.5 I can't get it docked in the browser window back. :( ...

$(d).attr("id") is undefined javascript

I have a variable d that I use like this: $(function() { for(i = 1; i <= 31; i++) { var d = '#days' + i; if ($(d).attr("id").substr(4,2) == 11) { $(d).addClass("date_has_event"); //console.log("diez"); } else { console.log("otro"); } } } However I get th...

Debugging JS events with firebug

I need to set a breakpoint to certain event, but I don't know, where is it defined, because I've got giant bunch of minimized JS code, so I cant find it manually. Is it possible to somehow set a breakpoint to for example click event of #registerButton, or find somewhere which function is bound to that event? I found Firefox addon Javas...