Comment #2 on issue 3225 by [email protected]: runtime.cc:11391:
CHECK(!frame->GetParameter(i)->IsTheHole()) failed
http://code.google.com/p/v8/issues/detail?id=3225
pure d8 repro. To be honest I'm not surprised the debugger does not work
with generators.
// Flags: --expose-debug-as debug --harmony
Debug = debug.Debug
function listener(event, exec_state, event_data, data) {
if (event != Debug.DebugEvent.Break) return;
print(exec_state.frame(0).evaluate('arg').value());
}
Debug.setListener(listener);
function* gen1(arg) {
debugger;
yield arg;
return arg + 3;
}
var iter = gen1(2);
var n = iter.next();
Debug.setListener(null);
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.