Hi all,
 
I reported Bug 400031 against 1.6R7 concerning debuggers and continuations.  
This bug still exists in 1.7 rc2.  After some playing around, we found the 
following patch (relative to 1.6R7) to Interpreter.java fixes the bug.   
However, we don't know if this patch is correct or if introduces other 
problems.  I have updated the bug with the patch as well.
 
If at all possible, I'd like to see this problem resolved before the final 
release of 1.7
 
Thanks
 
Kevin Ruland
 
*** rhino1_6R7-patch/src/org/mozilla/javascript/Interpreter.java  2008-02-06
16:05:49.000000000 -0600
--- rhino1_6R7/src/org/mozilla/javascript/Interpreter.java      2008-02-06
16:16:41.000000000 -0600
***************
*** 4074,4080 ****
                  // block ("catch" implicitly uses NativeWith to create a
scope 
                  // to expose the exception variable).
                  for(;;) {
!                     if(scope instanceof NativeCall || scope instanceof
NativeObject) {
                          break;
                      } else {
                          scope = scope.getParentScope();
--- 4074,4080 ----
                  // block ("catch" implicitly uses NativeWith to create a
scope 
                  // to expose the exception variable).
                  for(;;) {
!                     if(scope instanceof NativeCall) {
                          break;
                      } else {
                          scope = scope.getParentScope();
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to