The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Invaluable JavaScript Tools

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page


Posts: 201
Nickname: cfis
Registered: Mar, 2006

Charlie Savage
Invaluable JavaScript Tools Posted: Aug 19, 2006 2:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by .
Original Post: Invaluable JavaScript Tools
Feed Title: cfis
Feed URL: http://cfis.savagexi.com/articles.rss
Feed Description: Charlie's Blog
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by
Latest Posts From cfis

Advertisement

If you write a lot of JavaScript, then you'll find Matthias Miller's website chockfull of useful information. And even better, he's put together two great tools.

The first is JavaScript Lint, a tool that analyzes JavaScript code and reports potential errors. Mozilla's SpiderMonkey JavaScript engine has similar functionality, which you can turn on by typing about:config as the URL and then searching for javascript.options.strict. However, JavaScript Lint detects more types of errors and is configurable. To give it a try, I ran it over the MapBuzz code base and was very impressed by the errors it revealed. I immediately added it to our automated testing processes (i.e., its spawned by a rake task now) and have come to depend on it.

And if that wasn't enough, Matthias has adopted a second tool, called Drip, that detects memory leaks in Internet Explorer's JavaScript engine. Memory leaks occur in IE because it uses COM based reference counting to delete objects. Reference counting is fast, and easy to understand, but does not handle circular object references. As you use your website in IE, Drip keeps track of these circular references. Once you're done, it prints out a report showing you where the memory leaks occurred.

Thanks for the great tools Matthias.

Read: Invaluable JavaScript Tools

Topic: $stdout vs STDOUT Previous Topic   Next Topic Topic: In The Works - An Official Rails Plugin Repository

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use