On Sat, 4 Dec 2004 17:51:07 +0800, peter <pe********@hot mail.com.us> wrote:
Is there any IDE supporting javascript debugging?
None that I know of, but there is little point (for Web scripting,
anyway). An IDE would have to choose a particular user agent to emulate
(probably IE), but all browsers expose different execution environments.
However, successful execution in one browser doesn't guarantee success in
any others.
Again, assuming we're talking about Web scriptng, the best advice is to
test both your mark-up and scripts in a browser that conforms well to the
various standards. Both Mozilla (Suite and Firefox) and Opera fit that
description, and both provide very useful Javascript consoles. For
example, Opera's will not only tell you where the error occurred
accurately (unlike IE), but it will also display an execution trace
showing you the series of function calls that led to the error.
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.