Debugging CSS, AJAX and DOM with Firebug 55
prostoalex writes "Joe Hewitt of Parakey in the latest Dr. Dobb's Journal provides a detailed overview of the Firebug extension for Firefox: 'Firebug breaks the page down into a set of tabs that depict its most important aspects — HTML, CSS, JavaScript, the DOM, network activity, and a console for errors and log messages. No tab is an island; Firebug lets you browse code just as you browse the Web by presenting objects as hyperlinks that can take you from one view to another.'"
Perfect Tool (Score:4, Funny)
Well, now its on
Re: (Score:1)
Re: (Score:2)
Good but no cigar (Score:4, Informative)
Combine Firebug with the Web Developer Toolbar ahref=https://addons.mozilla.org/firefox/60/rel=u
Re:Good but no cigar (Score:5, Informative)
DOM Inspector was actually written by the same person who wrote Firebug: myself, 6 years ago. There is no reason to use DOM Inspector any longer. Firebug does everything it does and more, but with a much more pleasant and modern user interface.
Re: (Score:2)
That's what I said. The included DOM Inspector extension. As in included (with) the browser. I should have been a little bit clearer on the context though..
DOM Inspector's excellent for javascript debugging, as you can use the full screen easily and can switch windows fast (extremely useful for debugging the tangle of JS in some webapps).
> DOM Inspector was actually written by the same person who wrot
Re:Good but no cigar (Score:5, Informative)
Perhaps you haven't tried Firebug 1.0, which allows you to open Firebug as a separate window. Versions prior to 1.0 did restrict you to a panel at the bottom of the browser.
Re: (Score:2)
You've really nailed it - this version is absolutely fantastic. Brilliant.
Re: (Score:3, Insightful)
What difference does it make what your browser of choice is? You're developing, not browsing.
Re: (Score:3, Insightful)
But seriously, Firebug (and the webdev extension) have made my job a LOT easier. (And my co-workers, too.) Problems that took me 30 minutes to an hour in the past to find, I can now find them in seconds. It's been a god-send. Thank you so much.
Re: (Score:2)
Re: (Score:2)
But you (I) certainly use the Dom inspector less after Firebug, and all hail Joe and his cohorts!!
--Robert
Re: (Score:2)
Thanks!
Re: (Score:2)
Sera
Link to old extension (Score:5, Informative)
It would be a shame if everyone installs 0.4 and misses out on all the great new stuff in 1.0.
Re: (Score:2)
Seriously. I've just installed it, seems OK. I hope the annoying reporting of bugs that don't exist when using window.open() is gone.
Re: (Score:2)
The new version is amazing as well, I just started to play with it.
It won't be an overstatement to say that this sole extension is saving web developers worldwide thousands of debugging hours: every single day.
Firebug 1.0 is FANTASTIC. (Score:2)
Re: (Score:1)
debug (Score:3, Funny)
Re: (Score:1)
for the big ones, eh?
Re:Exellent tool but, but not for web developers (Score:4, Insightful)
Re: (Score:1)
FireBug with its plethora of functions is indispensable for any web developer. In my mind it's clear that you never even looked at it.
FireBug is not for ajax only. And as another poster noted not everyone has the freedom or willingness to use 3rd party ajax-frameworks.
Re:Exellent tool but, but not for web developers (Score:5, Informative)
10 css errors on this page (Score:3, Interesting)
Between firebug and the html validator extension (requires html validator) http://www.htmlvalidator.com/firefoxext.php [htmlvalidator.com] you can quickly pick up and find the errors on the page.
Re:10 css errors on this page (Score:4, Informative)
This addon does not appear to be Free (as in speech) and also only runs on Windows.
I much prefer HTML Validator [skynet.be]. I find both the Tidy and W3C validators incredibly useful. The Tidy function to clean up existing markup is also rather handy.
Re:Venkman (Score:5, Informative)
Not only for development (Score:5, Interesting)
Furthermore, the JavaScript console can be very helpful for those starting to learn JavaScript, like how the Python console is for Python beginners.
Re: (Score:3, Informative)
http://www.squarefree.com/bookmarklets/webdevel.ht ml#shell [squarefree.com]
These also come in handy:
http://www.squarefree.com/bookmarklets/zap.html [squarefree.com]
Zap Style Sheets can make myspace quite a lot easier to read.
Re: (Score:1)
I'm actually making an HTML/JS/CSS etc Sandbox that i can hook onto a website so i can play around with things.
Still needs alot of testing though, and sadly i don't have alot of free-time just now.
Just when i managed to get the iframing to work!
Re: (Score:2)
I also like it when I come to pages and see the little red error, so I can tell who spends time on their script.
This is an awesome tool and I always recommend it to ANYONE who is doing any JavaScript development.
Re: (Score:1)
About as close as you are going to get at the moment. I wish for it too.
Something to think about: build you page in Firefox and get it perfect there, only then should you try to go out of your way to make it work ok in IE (much easier than the other way around).
Re: (Score:2)
The theme that Ajax/Web 2.0 (cue violins) have too high glitz to function ratio is not unwarrented, repetitive cut&paste postings does obscure that point.
Re: (Score:2)
There is. It's called Firebug.
Re: (Score:1)
yes.
there is a button called "Profile". you click that, run your script, then click "Profile" again, and a list of functions and how much time they took will show up.
Very Useful (Score:3, Insightful)
firebug rocks (Score:1)
Firebug ROCKS!!!! (Score:2)
Good timing (Score:2)