I'm trying to support step in/out/next but can't figure out how to use them.

I see that I get an ExecutionState in my v8::Debug::EventDetails.  I grab 
that and then I try to call prepareStep on it, but I get a:

Check failed: isolate->debug()->CheckExecutionState(break_id)

runtime-debug.cc 1206:

RUNTIME_FUNCTION(Runtime_PrepareStep) {
  HandleScope scope(isolate);
  DCHECK(args.length() == 2);
  CONVERT_NUMBER_CHECKED(int, break_id, Int32, args[0]);
  CHECK(isolate->debug()->CheckExecutionState(break_id)); <==== HERE

I've got isolate/handle/(debug)context scopes set up when I try to make the 
call.   


Also, after I successfully call that, how do I execute the step?   Do I 
just resume execution by returning from the callback and it automatically 
does the step?   or do I have to call sometehing explicit to execute the 
step?


Thank you.

--Zac

-- 
-- 
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.

Reply via email to