Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Ajax Debugging

 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I remember using Javascript in the past was pretty painful to debug.
What about web applications using Ajax ?
 
Author
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I feel this is a myth because it is relatively easy to debug JavaScript.

If you are using Mozilla then use the included Mozilla debugger. I know Firefox has an installable extension, but I just end up using Mozilla. My gripe with Mozilla is often dynamically assigned code it cannot debug!

For Internet Explorer you use the included Script Debugger. By default it is not enabled and you need to enable it. If you have Visual Studio installed then it becomes a great debugger.

I also find indispensible a logging library like log4js. There are others (eg lumberjack) and I advise that you look at them to see which one is to your liking.
reply
    Bookmark Topic Watch Topic
  • New Topic