Solved

Firebug javascript/dom debugging tutorial

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Suggested Solutions

Title # Comments Views Activity
arrays and radio buttons 10 39
Html split(text) Part2 6 21
Duplicate Elements with JS / jQuery 3 24
15 puzzle in Javascript/html 2 41
This article discusses how to create an extensible mechanism for linked drop downs.
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.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

749 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