SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Wizard
    Join Date
    May 2003
    Location
    Berlin, Germany
    Posts
    1,829
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to put firebug to good use?

    hi all,

    what do you use firebug for in connection with javascript?

    Just want to explore new ways of using it.

    Currently I use it to:

    1. debug my scripts using console.log(), etc.
    2. test small things in the built in 'live' console

    Thanks for your answers!

  2. #2
    SitePoint Evangelist priti's Avatar
    Join Date
    Aug 2006
    Location
    India
    Posts
    488
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkAngelBGE View Post
    hi all,

    what do you use firebug for in connection with javascript?

    Just want to explore new ways of using it.

    Currently I use it to:

    1. debug my scripts using console.log(), etc.
    2. test small things in the built in 'live' console

    Thanks for your answers!
    I usually use firbug for debugging javascript.If you enable it ,there will be a circle in status bar of your window.When ever there is some js error it become red else green.

    If you click this it will show you exact error causing line and message.It help understanding what went wrong with code.

    In ajax request it is very helpful.This will needed information to track the issue like weather it is requesting the correct file,what headers been sent,what response arrived.

    While you work with DOM you can see the entire structure of the page in the firebug which helps you to work adding fields dynamically as and when required.

    it is an exacellent tool for debugging javascript. it halped me many numbers of time.

    this is my experience with firebug.

  3. #3
    Google Engineer polvero's Avatar
    Join Date
    Oct 2003
    Location
    Mountain View
    Posts
    567
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can inspect the DOM at any given moment. It's like greasemonkey-live in a way. You can always watch what elements are changing, and see the DOM in its most current state.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •