On Wed, Nov 30, 2016 at 12:47 AM, Francisco Tolmasky <[email protected]> wrote: > So, I have a listener with expose-debug-as: > > var scope = exec_state.frame(0).scope(0); > > I would like to be able to swap out the entire scope object wholesale > instead of individual changes such as: > > scope.setVariableValue("x", 20); > > So, something like: > > scope.scopeObject(myNewScopeObject). > > Is this possible at all? > > Thanks, > > Francisco
Short answer: no. Longer answer: Is your goal is to add or remove variables from the scope? Not possible using the debugger API but I think it's possible with LiveEdit, if you can get past the bugs. That won't affect the current function invocation, though, only new ones. -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" 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.
