Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium

New issue 2202 by [email protected]: [LiveEdit] frame dropper can't "pierce" 'apply' callframe and subsequently bound function callframe
http://code.google.com/p/v8/issues/detail?id=2202

Frame dropper is a part of LiveEdit subsystem. It rebuilds callstack that consists of user JavaScript frames with debug break handler code being on top of them.

Frame dropper code is essentially a part of debug break handler. It erases a number of user JavaScript frames and replaces them with an auxiliary stack frame that pops all empty slots and passes control back to user code.

However Function.apply call and subsequently call to bound function place C++ frames in the middle of stack, which blocks frame dropper, because one cannot simply remove C++ frame from stack (because of destructors that V8 uses intensively).

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

Reply via email to