On Mon, Aug 25, 2014 at 10:02 PM, Bit Cortex <[email protected]> wrote:
> 1. How does the embedder know what reponse to send to the debugger?
> v8::Debug::SendCommand() doesn't return anything.
You send or collect the response in the message handler that you
register with v8::Debug::SetMessageHandler():
void HandleMessage(const v8::Debug::Message& message) {
v8::String::Utf8Value response(message.GetJSON());
// do something with |response|
}
> 2. Do you know if the debug protocol change will affect V8's debugging API?
I'm not really the right person to answer that question but my guess
is no or not much. I understand Chromium talks to the debugger using
the C++ API so whatever functionality it uses, V8 needs to keep.
Chromium is of course continuously updated but I don't expect radical
changes in the short term.
--
--
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.