Solved

Firebug javascript/dom debugging tutorial

Posted on 2011-03-15
3
612 Views
Last Modified: 2012-06-21
I'm looking for some decent tutorial on how to debug javascript using firebug.

I would like to know the crux of debugging with firebug. Just the main key techniques.

Please share any good tutorials you know of!

Thanks!.

these are ones I've found
0
Comment
Question by:jeremyll
3 Comments
 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 166 total points
ID: 35137181
0
 
LVL 9

Assisted Solution

by:Roman Gherman
Roman Gherman earned 167 total points
ID: 35137190
0
 
LVL 38

Accepted Solution

by:
Aaron Tomosky earned 167 total points
ID: 35137651
I mostly use the script tab and set breakpoints. Then you can view the Dom at that point in time. Also If I'm having problems with particular variables I put those in the watchlist. It's really just like any other debugger so there aren't that many firebug specific techniques that aren't just good debugging techniques.

After having to debug code you may write code differently. For example I always set variables like query and msg and response before sending the db call or whatever just so i have a query variable to debug. If your code is full of function(text and fuctiom2(response) + 23) type of stuff where you build the function variables right there inline, it makes debugging difficult.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question