Subj : relating to JS_DefineFunction To : netscape.public.mozilla.jseng From : Frank Luctos Date : Wed Apr 20 2005 07:10 pm Let's say I have function "foo" that I define via JS_DefineFunction(cx, my_obj, "foo", foo, 2, 0) Once inside the c code that implements "foo" is there any way at all that I could access the actual statement in the script that initiated that call? So let's say the call was "dosomething(foo("blah")); Can I somehow get back "dosomething(foo("blah")) in my c code? Thanks again in advance, Frank .