Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Firebug javascript/dom debugging tutorial

Posted on 2011-03-15
3
Medium Priority
?
642 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Assisted Solution

by:Gurvinder Pal Singh
Gurvinder Pal Singh earned 664 total points
ID: 35137181
0
 
LVL 9

Assisted Solution

by:Roman Gherman
Roman Gherman earned 668 total points
ID: 35137190
0
 
LVL 39

Accepted Solution

by:
Aaron Tomosky earned 668 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to count occurrences of each item in an array.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

636 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