Solved

Firebug javascript/dom debugging tutorial

Posted on 2011-03-15
3
611 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now