aspose file tools*
The moose likes Other Languages and the fly likes Debugging JavaScript and Freemarker Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Debugging JavaScript and Freemarker Code" Watch "Debugging JavaScript and Freemarker Code" New topic
Author

Debugging JavaScript and Freemarker Code

Fred Victa
Ranch Hand

Joined: May 01, 2008
Posts: 90
What tools can I use to debug JavaScript code and Freemarker template code? Does anyone have any tips for debugging JavaScript code and Freemarker template code?
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

hi Fred,

You can use FireBug addon with your firefox to debug your JavaScript.

I am not sure about Freemarker as of now. Don't know even is it possible right now.

cheers


http://plainoldjavaobject.blogspot.in
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
JavaScript runs on the client, whereas FreeMarker is interpreted on the server, so most debugging approaches will work for both as they're focused on one side but not the other. I think IDEs like IntelliJ, Eclipse and NetBeans allow combined client and server debugging.


Ping & DNS - my free Android networking tools app
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Im' not really sure what are you doing to achieve but since you mentioned JavaScript and FreeMarker, have a look at Handlebars.js or Dust.js
Maybe both will ring a bell to you?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Debugging JavaScript and Freemarker Code