Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-High HW-All OS-All

New issue 1826 by [email protected]: Combination of return and with statements breaks debugger scope enumeration
http://code.google.com/p/v8/issues/detail?id=1826

Attached test case (initial version by Steven Keuchel) fails with

#
# Fatal error in src/runtime.cc, line 11338
# CHECK(context_->IsWithContext()) failed
#

in debug mode (or segfaults in release mode).

This is caused by the way we record source/statement positions for return statements.

It confuses ScopeIterator to think that we are still inside with when we are breaking at return break slot.


Attachments:
        regress.js  2.1 KB

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to