Subj : Re: finding error in js To : bart From : Igor Bukanov Date : Thu Jan 15 2004 10:18 pm bart wrote: > I need to execute and find errors in js in rhino. Execution of js > gives me error IndexOutOfBoundException. > This error orginates in java class embeded in rhino. > I can't find out in which line. I belive it's trivial but > I'am a newbie to rhino. > How can I find js runtime error line number and report it, to user? Rhino CVS tip, ftp://ftp.mozilla.org/pub/mozilla.org/js/rhinoLatest.zip , contains fixes to always include script error line information with execptions propogated through the engine. See http://bugzilla.mozilla.org/show_bug.cgi?id=217584 Regards, Igor .