I'm calling:
debug_context->run("let bp =
Debug.setBreakPointByScriptIdAndPosition("some stuff");
and getting a callback to my registered callback, but I have no idea what
to do with what I'm getting in my callback.
An example of the data I get back is:
GetEventData
{script_: {context_: {data_: undefined, handle_: 0, type_: "context"},
handle_: 1, script_: {}, type_: "script"}, type_: 5}
GetExecutionState
{break_id: 7, selected_frame: 0}
But I don't understand what it wants from me.
Also, how do I find out what the parameters to the Debug javascript object
even are?
I'm looking at this: https://github.com/v8/v8/blob/master/src/debug/debug.js
and, for example, if I want to call
Debug.setBreakPointByScriptIdAndPosition = function(script_id, position,
condition, enabled,
opt_position_alignment)
What is a "position"?
Are there examples of how to use this somewhere?
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.