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:
igor%mir2.org
2003-08-04 13:01:06 +00:00
parent dec80ceb51
commit e7ede5bb73

View File

@@ -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