View Full Version : What is your preferred method to debug js?

07-07-2003, 08:33 AM
i just like to know And learn efficient ways for js debugging
is the " alert(foo)" kind of way spared allover the script is the only best way ?
or you have some new methods?

07-07-2003, 08:37 AM
Honestly, I've never really used a JS debugger. However, when I do code something with an error, I'll always use Mozilla or Opera -- their error-reporting is VASTLY superior to IE's.

07-07-2003, 08:53 AM
well i was talking more about general debugging methods
not browser specific talking about browser we using only IE as our application platform
i thing that all the applications (note! not web sites BUT applications) using IE . any way lts not convert this
dissection to web browser war (please dont!!) But about debugging ideas

07-07-2003, 08:59 AM
That IS my debugging idea.

I think the Mozilla folks may a debugger for JS. "venkman" or somrthing.

07-07-2003, 09:15 AM
its looks great but i see its not standalon app,but part of the
browser...that is IE jscript + spcfic IE code not gona work well

07-07-2003, 09:25 AM
I don't use a "debugger", either... I simply test it on different browsers. Sometimes I use NS7 Javascript Console, it shows more precisely where the error could be...

... And, I use for coding Dreamweaver. It keeps my scripts tight, and shows the reserved words with diffrent colors...

07-07-2003, 02:20 PM
Mozilla's JS console in conjunction with alert()'s. I've never needed to use Venkman - that's a little heavy duty for something a light as Javascript. I sometimes use the Codewarrior debugger for C++, but never a Javascript debugger,

07-07-2003, 03:10 PM
do you mean u debug js sometimes with :
Codewarrior debugger for C++, ???
or what?