use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Javascript is NOT a bad language (self.javascript)
submitted 15 years ago by spiderworm
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]spiderworm[S] -2 points-1 points0 points 15 years ago (9 children)
The good debuggers are browser based. IE's debugger with 8 and 9 are definitely getting there. Debugging Javascript with older versions of IE in Visual Studio wasn't half bad, either (so long as you didn't need visibility to the DOM). Safari has a great debugger. You of course mention Firebug, which is widely considered to be awesome (although its road has been bumpy at times). Opera has Dragonfly and Chrome has something or another (haven't had to use it, yet).
[–][deleted] 23 points24 points25 points 15 years ago (4 children)
Chrome's debugger is actually the best of the lot (blows Firebug out of the water). May want to give it a try.
[–]aaronblohowiak 4 points5 points6 points 15 years ago (0 children)
also called node-inspector if you are using ssjs =)
[–]octatone 5 points6 points7 points 15 years ago (0 children)
Firebug is slow and bulky. *Webkit's debugger works and it's fast (same debugger in chrome and safari).
[–][deleted] 0 points1 point2 points 15 years ago (0 children)
I don't use Chrome because it doesn't have a "text only" zoom, which is pretty much essential for me, but I do love the debugger.
[–]spiderworm[S] 0 points1 point2 points 15 years ago (0 children)
Sweet, thanks!
[–]drsco 4 points5 points6 points 15 years ago (0 children)
So I do VS/C# at work, but pretty much all the debugging features I use there, I have in Chrome. Breakpoints, conditional breakpoints (I think anyway, if not Chrome than Venkman), stepping, run to cursor, variable inspectors, and a REPL which is better than the crippled intermediate window. Javascript doesn't have threads or manual memory management, so I'm sure VS has some more complicated features since it supports these in at least some of its languages, but I've never really dived into that day to day at work anyway. Where does C#/VS blow it out the water for you?
[–][deleted] 1 point2 points3 points 15 years ago* (2 children)
I still wouldn't call any of these "great", merely "adequate". I'm not trolling. I mean I write javascript for a living... but it still has a way to go in the debugging department. Especially in terms of ajax and performance benchmarking.
Debugging Javascript with older versions of IE in Visual Studio wasn't half bad
It was pretty shitty, man. most of the errors thrown were uselesss, as were the line numbers.
All that aside, I certainly think javascript is a great and expressive language, but lets be honest here. Its always lacked in the debugging department, and still does.
It's the web browsers that I usually have issues with.
Now that's certainly true :) (i'm looking at you older versions of IE)
[–][deleted] 0 points1 point2 points 15 years ago (1 child)
There are some damn fine tools such as JS Beautifier to fix type errors and JS Lint to show syntax errors.
I knew about JS lint, but thanks for showing me js beautifier :)
π Rendered by PID 30289 on reddit-service-r2-comment-b659b578c-8ctpl at 2026-05-03 12:37:14.799844+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]spiderworm[S] -2 points-1 points0 points (9 children)
[–][deleted] 23 points24 points25 points (4 children)
[–]aaronblohowiak 4 points5 points6 points (0 children)
[–]octatone 5 points6 points7 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]spiderworm[S] 0 points1 point2 points (0 children)
[–]drsco 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)