Initialize cx.interpreterSourceFile with script o r function source name before starting bytecode execution so this information for the first script throw/runtime exception
git-svn-id: svn://10.0.0.236/trunk@145539 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1703,6 +1703,8 @@ public class Interpreter {
|
||||
debuggerFrame.onEnter(cx, scope, thisObj, args);
|
||||
}
|
||||
|
||||
cx.interpreterSourceFile = idata.itsSourceFile;
|
||||
|
||||
Object result = undefined;
|
||||
// If javaException != null on exit, it will be throw instead of
|
||||
// normal return
|
||||
|
||||
Reference in New Issue
Block a user