Yeah I can't make any assumptions or impose any requirements about what the
javascript to be executed will look like.
It must be possible since Node.js already does this for long running
JavaScript.
Thanks for the suggestions and quick responses
-Konrad
On Wednesday, November 14, 2018 at 7:53:
I have attached to node with the program executing in the middle of a
while/busy loop.
I think I found what node is doing.
https://github.com/v8/v8/blob/96a039aab14b71069e88c4c04543e6bc9514a0d6/include/v8.h#L7969
void v8::Isolate::RequestInterrupt(InterruptCallback callback, void* data);
This fu
Hi,
I've got some long running JavaScript that I don't expect to end. I am
embedding V8 on ARM and want to connect to the debugger. I am able to
connect the JavaScript debugger to d8 on OSX by calling
isolate->RequestInterrupt.
My callback to RequestInterrupt calls session->dispatchProtocolMe
The issue is eh application where I'm embedding v8. Running d8 on ARM
works just like on OSX.
On Monday, November 26, 2018 at 9:59:22 AM UTC-5, Konrad Piascik wrote:
>
> Hi,
>
> I've got some long running JavaScript that I don't expect to end. I am
> embedding V8 on ARM and want to connect to
See this
topic https://groups.google.com/d/topic/v8-users/L8rq6zbviHg/discussion It
might be useful. Also this article
https://medium.com/@hyperandroid/v8-inspector-from-an-embedder-standpoint-7f9c0472e2b7
and
finally this GitHub might be useful.
https://github.com/SoylentGraham/V8InspectorM