Subj : Re: how to return error line number? To : zhimakaiman From : Brendan Eich Date : Fri Apr 09 2004 11:23 am zhimakaiman wrote: > is there a way to get error line number if the script failed when call: > JS_EvaluateScript See news://news.mozilla.org:119/c4vjfl$l3b503@ripley.netscape.com, this question just came up here. The answer is at news://news.mozilla.org:119/5u305c.k13.ln@karme.myfqdn.de and says this: http://mozilla.org/js/spidermonkey/apidoc/gen/complete.html#JS_SetErrorReporter see also: src/sh/jssh.c:380 src/sh/jssh.c:627 /be .