It says here <https://github.com/v8/v8/wiki/Debugging%20Protocol> that "The
message based API is no longer maintained.". Does that mean that entering
JSON commands via v8::Debug::SendCommand is no longer supported, or is the
message based API something else? I don't have any historical context with
v8 so I am not sure.
Nevertheless in the version of the source I have I have attempted to use
v8::Debug::SendCommand.
I am attempting to let my embedded v8 communicate with node-inspector over
a socket. I have so far got the following JSON command after trimming off
"Content-Length:
173\r\n\r\n":
"{"seq":22,"type":"request","command":"evaluate","arguments":{"expression":"JSON.stringify(process.version).match(/.{1,80}/g).slice()","global":true,"maxStringLength":10000}}"
Then I pass it to v8 with v8::Debug::SendCommand.
However I don't get any call back on the handler I registered with v8::Debug
::SetMessageHandler
I appreciate that I haven't given a lot of code, but is the general
approach I am taking expected to work or is this the thing that's not
maintained?
Neil
--
--
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.