Initialize cx.interpreterSourceFile with script o r function source name before starting bytecode execution so this information for the first script throw/runtime exception

This commit is contained in:
igor%mir2.org 2003-08-04 13:01:06 +00:00
Родитель 040a93626e
Коммит fb9ac64c2e
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

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