SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2013
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Currently, What is the best JavaScript Debugger?

    Nov. 29, 2013

    Venkman?

    Firebug?

    FireFox Built-in JS Debugger?

    Chrome Built-in JS Debugger?

    others?

    Thanks in advance.

  2. #2
    SitePoint Member
    Join Date
    Nov 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    These are the other JavaScript Debugger.
    - Komodo Edit (Free) (Windows, Linux, Mac OS X)
    - Aptana Studio (Windows)
    - DragonFly

  3. #3
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,940
    Mentioned
    215 Post(s)
    Tagged
    12 Thread(s)
    To some extent this is a matter of opinion.
    Saying that however, there is no denying the power of Chrome Dev Tools.
    They are the reason that I use Chrome as my primary browser.

    Read this for enlightenment: https://developers.google.com/chrome...ript-debugging

  4. #4
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Pullo View Post
    there is no denying the power of Chrome Dev Tools.
    I can only agree.

    There is also brackets.io with Theseus, with some nice debugging, but still in its infancy.

    I haven't played as much with the new tools in IE11.
    I'll have to wait 'till later, when I get back home from work, but do they highlight closure variables in scope as nicely as Chrome Dev Tools?

  5. #5
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    So, I've been checking the IE11 tools.

    It does kind of does, only not explicitly labeled. It creates a [Scope] sub-tree (object) for [Locals], with variables origin info.

    You have to conclude it's about closures because it's outer scope.

  6. #6
    SitePoint Member
    Join Date
    Jan 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    updates?

    Quote Originally Posted by super_noob View Post
    Nov. 29, 2013

    Venkman?

    Firebug?

    FireFox Built-in JS Debugger?

    Chrome Built-in JS Debugger?

    others?

    Thanks in advance.
    Did you get any further in this? I'm using FF primarily now (its simply better on mobile than chrome) and I'm really not sure where to invest time - the built in debugger or firebug - on my debian system firebug looks awful . Very little info out there or my google fu is waning.

  7. #7
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,820
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Given that you really need to test your script in all the different browsers you are going to use the built in debugger in all of them at some point.

    Given that all browsers now have a built in debugger there's no real need to go installing another one unless you already know one of the others really well and prefer using it to the one built into each browser.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  8. #8
    SitePoint Member
    Join Date
    Jan 2014
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was specifically asking about firefox debugging and not for advice on approach for cross browser guidelines. Thanks anyway. Having done some research firebug seems a better investment in time due to its better network analyser: unfortunately it crashes or contributes to crashes on ff 26 quite regularly.. Something that doesn't happen using the built in development tools.

  9. #9
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,820
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by rileyrg View Post
    I was specifically asking about firefox debugging.
    Save debugging Firefox for last - it is the one that is slowest when it comes to running JavaScript and often runs inefficient code slightly faster than efficient code due to somehow trying to do things backwards compared to how all the other browsers do it. It is generally better to put up with the slight inefficiencies of Firefox as the slight improvement you get in Firefox when you use slightly less efficient code results in comparatively huge inefficiencies in how the code runs in other browsers.

    As the JavaScript will generally run identically in Firefox to the way it does in other browsers (even though it runs more slowly) you are best to optimize your code for Internet Explorer/Google Chrome/Opera first.

    Most if not all of your debugging will then have been completed long before you open Firefox and actually needing to do any debugging in Firefox will be extremely rare - so installing any additional debuggers on top of the built in one is both unnecessary and will also make the browser even more inefficient than it already is.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">


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
  •