Simple clear advice in plain English

Download: Firebug for Firefox

Invaluable for finding and fixing problems, Firebug is also great for learning how web pages work

firebug

Find and fix website errors with Firebug

Finding bugs in web  pages can be a tricky business. Now that a single page can be made up of information from many different files just looking at the page code is often not much help. Firebug is packed with tools that make it easier to understand what is going on and can even be used to make changes on the fly to find fixes.

Read more: Web design downloads

Installation is simple and Firebug appears as a small icon with, appropriately enough a bug, to the right of the Google search bar at the top of the Firefox Window. Clicking on this button will make the main Firebug interface appear at the bottom of the Firefox window. We were very pleased to find that Firebug doesn't require a restart of Firefox to complete the installatin.

There are tabs for revealing the HTML, CSS, script and DOM of the current page. The first two are the content and styling. The script tab shows javascript and other languages used to manipulate the page.

DOM stands for Document Object Model and is a way of identifying and accessing every part of the web page

One of the cleverest tools in Firebug is that you can not only view the code used to build web pages but edit it and see the changes in real time. This radically speeds up the process of fixing errors, especially those odd formatting problems that can be hard to track down.

It won't leave you to find errors yourself as it will list all the errors found in a page. It will show the file containing the error and the line number of the command in question. Errors are only shown for the page currently being looked at, which will help keep the list managable if there are several tabs open. Finally errors can be filtered so you can exclude CSS errors if it's the Javascript that you're trying to fix.

Cookies can be examined and edited. Firebug can launch its debugging tool if a specific cookie is changed and show you which line of script made the change.

Firebug can show exactly how long every part of a webpage takes to load. Load times are very important for the popularity of a site and this can be a critical test.

There is one limitation with Firebug, which is that it will only debug problems encountered in Firefox. This isn't really Firebugs fault, but do remember that just because something works in Firefox doesn't mean that it will work in other browser. This should be just one part of the testing process.

Opera has the Dragonfly tool built in, which can be accessed by pressing Ctrl, Shift and I. This has a similar selection of features including live editing of code.

Google Chrome has developer tools that can be accessed by clicking on the spanner icon in the top right, then Tools and then Developer Tools. Or you can press Ctrl, Shift and I as in Opera.

Users of Internet Explorer 9 can press F12 to access its Developer tools, which set the browser to run in different modes for all the different versions of Internet Explorer since version 7.

 

Reader Comments

display:none  

Add your comment

Please keep comments constructive and free from abuse of any kind and swearing. If you wish to link to a product or service online, please do so in such a way that makes it clear that it is not spam. If you are connected to any such product you should make that clear.

We may use your comments in the magazine. We may edit your comments for clarity or to remove unacceptable material. We will attribute your comments but not share your email address.

We request your email address and record your Internet Address (IP address) in order to block spam from our site. We will never share this information without your permission.

All comments are reviewed by the Computeractive Team before being published. Please bear with the slight delay this causes, you don't need to post more than once.

Click here to read our Privacy Policy

Click here to read our site Terms & Conditions

Related downloads

image-screenshot-of-kompozer

Download: Kompozer

Modified version of the NVU web editor

kiwix-wikipedia-offline-reader

Download: Kiwix

Download Wikipedia to read offline

i-389-downloads-microsoft-expression-web-4

Download: Microsoft Expression Web

This impressive web-editing program is now available at no cost

Our verdict

Download type

Full commercial application

Suitable for

Windows 7 64-bit, Windows 7, Windows Vista 64-bit, Mac OS X, Linux, Windows XP, Windows Vista

Download size

1.5MB

Best deals on the web

img

Apple iMac 2.7GHz 8GB 1TB 5400rpm 21.5''

£1024.95- Buy it now

img

HP Pavilion p6-2480ea (D2L08EA)

£269.95- Buy it now

img

HP Pavilion p6-2310ea (C3T79EA)

£299.99- Buy it now

Updating your subscription status Loading

Most popular articles

No matching document

Poll

Do you have Windows 8?

Jargon Buster

Computing terms explained in plain English

CAD

Computer Aided Design. Software used to create 3D models.

Great shopping deals from Computeractive

Information currently unavailable