Solved

Firebug javascript/dom debugging tutorial

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

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

792 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