• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OO Java Script Debugging

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

One of the most common problem with script that we can debug it.

Does the Object Oriented Java Script may help in debugging Script ?

If yes then that will be great!!!

Thanks
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two methods I have found useful in debugging and are listed here in my order of preference:

1. Firebug plugin for Firefox. It allows you to view the DOM and put breakpoints within your class source so you can trace and view values as code gets executed.

2. Under your IE preferences change the advanced settings to allow debugging. Install the free download from MS for Visual Web Developer or Studio. This will allow IE to throw an error and display the source where the error occured. This approach is not very elegant, but is better than the useless messages it shows without it.
 
Ganesh Bhambure
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
But is their IDE which can help to debug Java Scripts , like Java Code ?

Thanks
[ August 27, 2008: Message edited by: Ganesh Bhambure ]
 
author
Posts: 85
5
PHP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ganesh,

the book doesn't go into debugging, but as B Webb says, there's the excellent Firebug extension and also several debuggers for IE by MS. They allow you to set breakpoints, step in, out, etc, everything you could expect from a debugger.

Is there a good IDE with debugging built-in? That I don't know, in the past I've tried some Eclipse plugins, there was a one pretty decent one, there's also Aptana IDE which should be pretty good. Not a big IDE fan myself, I cannot recommend you something specific.
reply
    Bookmark Topic Watch Topic
  • New Topic