Try setting the Context's optimization level to -1 to force interpreted mode. Then you can get back a debuggable view by casting the Script to InterpretedFunction and calling getDebuggableView().

Attila.

On 2009.01.28., at 12:35, rhtdm48 wrote:

On Jan 28, 11:14 am, rhtdm48 <[email protected]> wrote:
Can anyone tell me..How to get name of all functions present in
javascript file.

I have a javascript file having functions.I am creating script object
of this file using compileReader method.And then i m defining a
debuggable script for that script object.But it is returning null
value.Whats the mistake i m not getting. can any one suggest me ???

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to