Subj : obtaining script line number when invoking C function To : From : damian@commtech.com.au (Damian Slee) Date : Mon Jul 07 2003 09:03 am Hi, is there any way to obtain the script line number when invoking a 'C' = function, using the JSContext *variable? JSBool CScriptPort::log(JSContext *Context, JSObject *Object, uintN = argc, jsval *argv, jsval *rval) { int lineno =3D ... I can obtain the lineno with the error reporter, but thats only when an = error occurs. .