[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-11-15 Thread @soylentgraham
oblem. The callback is called on the isolate's thread. > > Cheers, > Konrad > > On Wednesday, November 14, 2018 at 10:52:53 AM UTC-5, @soylentgraham wrote: >> >> Going off topic now, but can you attach & break into node.js whilst it's >> in a big blocking function? >

[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-11-14 Thread @soylentgraham
le 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:57 AM UTC-5, @soylentgraham wrote: >> >> The only way I could interrupt long runs of jav

[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-11-14 Thread @soylentgraham
ono::milliseconds(SleepMilliseconds); std::this_thread::sleep_for( ms ); } // re-enter after unlocker has gone out of scope mIsolate->Enter(); } On Tuesday, 13 November 2018 21:06:59 UTC, Konrad Piascik wrote: > > Hi @soylentgraham, > > I'm trying to replicate what you're doing as w

Re: [v8-users] Arraybuffer

2018-09-19 Thread @soylentgraham
Not sure where to start with this message a) Not even vaguely related to the original topic, you should start a new thread when the topic is wildly different. b) Do not start a new thread. c) This code is from libav (or actually, maybe ffmpeg). av_XXX are macros, functions and other values. The

[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-09-18 Thread @soylentgraham
a specific Android platform implementation. Chromium and Node also have their own platform. So, I made the most basic platform proxy possible to work around it... https://github.com/SoylentGraham/V8InspectorMinimal/blob/master/src/TV8Platform.h And it works! I can now modify code on the fly

[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-09-14 Thread @soylentgraham
handle delayed jobs... On Thursday, 13 September 2018 17:14:58 UTC+1, @soylentgraham wrote: > > For any future readers; > I went back to trying to build a debug v8 set of libs (wouldnt compile > before, added is_component_build=false which I think fixed t

[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-09-13 Thread @soylentgraham
creen Shot 2018-09-13 at 17.08.09.png] On Wednesday, 12 September 2018 17:34:30 UTC+1, @soylentgraham wrote: > > With a lot of back & forth help from Ibon/hyperandroid, we've got a bit > further in working out which things are good, and which are bad. > Feels like we're close, but

[v8-users] Re: ChromeDevTools connected to Inspector, but error responses... missing native JS functions?

2018-09-12 Thread @soylentgraham
here (cutting more dependencies out, but all my setup, inspector, frontend, messaging is in v8minimal.cpp) https://github.com/SoylentGraham/V8InspectorMinimal On Monday, 27 August 2018 13:49:37 UTC+1, @soylentgraham wrote: > > Through various sources (ie, googling & github) I've fin

Re: [v8-users] Arraybuffer

2018-09-10 Thread @soylentgraham
f an areaybuffer instance, how do I > get to call the arraybufferbuilder::append ? > > > > > > On Mon, 10 Sep 2018 at 23:30, @soylentgraham > wrote: > >> I'm guessing you may be a bit new to unmanaged-memory languages/systems. >> >> buffer is an object, (i