[v8-users] Get a callback in C++ code from v8

2019-07-17 Thread Nupoor Kotasthane
Hi v8 users, I would like to know if there is any way through which I can get a callback from v8 before and after evaluation of every JavaScript statement. Are there any C++ hooks or callbacks or APIs that I can use? I need to get notified by v8 and on receiving these notifications I want

[v8-users] Re: Get a callback in C++ code from v8

2019-07-18 Thread Nupoor Kotasthane
something like this. > > 在 2019年7月18日星期四 UTC+8上午7:15:16,Nupoor Kotasthane写道: >> >> Hi v8 users, >> >> >> >> I would like to know if there is any way through which I can get a >> callback from v8 before and after evaluation of every JavaScript statement

[v8-users] V8 version to upgrade to

2020-06-08 Thread Nupoor Kotasthane
We are planning to upgrade V8 for our next release. We are currently on version 6.7. It looks like that the current stable release is 8.3. Is this a good version to upgrade to? Any significant incompatibilities from version 6.7 that we should be aware of? Thanks a lot in advance. -- -- v8-u

[v8-users] Re: V8 version to upgrade to

2020-06-08 Thread Nupoor Kotasthane
Also, we used gcc 7.3 on Linux and Visual Studio 2017 on Windows to compile V8 version 6.7 last time. Are these compilers still okay to compile V8 version 8.3? On Monday, June 8, 2020 at 11:22:02 AM UTC-7, Nupoor Kotasthane wrote: > > We are planning to upgrade V8 for our next release.

[v8-users] Debugging ES6 modules with V8 inspector

2020-06-22 Thread Nupoor Kotasthane
Hi all, Is the V8 inspector equipped to debug ES6 modules? Our product embeds V8 and and we integrate with the V8 inspector and use it to debug JavaScript. We have noticed issues when we try to debug ES6 modules with the inspector. Thanks, Nupoor -- -- v8-users mailing list v8-users@googlegr

Re: [v8-users] Debugging ES6 modules with V8 inspector

2020-06-23 Thread Nupoor Kotasthane
ed for the importing 'mjs' module. So do we have to do anything special for modules for this to work? I can share my example if and inspector responses if that will help. Thanks, Nupoor On Tuesday, June 23, 2020 at 2:56:50 AM UTC-7, Ben Noordhuis wrote: > > On Mon, Jun 22, 2020 at

Re: [v8-users] Debugging ES6 modules with V8 inspector

2020-06-24 Thread Nupoor Kotasthane
e missing from the scope when I try to inspect the scope object with Runtime.getProperties <https://vanilla.aslushnikov.com/?Runtime.getProperties>. Is this expected behavior? On Tuesday, June 23, 2020 at 2:56:57 PM UTC-7, Nupoor Kotasthane wrote: > > Hi Ben, > > We have em

Re: [v8-users] Debugging ES6 modules with V8 inspector

2020-06-26 Thread Nupoor Kotasthane
enceError: p is not defined\n at eval (eval at (/sample.mjs:6:10), :1:1)\n at /sample.mjs:6:10", "objectId": "{\"injectedScriptId\":1,\"id\":22}" } } } } The expected outcome here would have been to see the actual value of variable "p"

Re: [v8-users] Re: V8 version to upgrade to

2020-06-29 Thread Nupoor Kotasthane
or changes in >> this document >> <https://docs.google.com/document/d/1g8JFi8T_oAE_7uAri7Njtig7fKaPDfotU6huOa1alds/edit> >> . >> Note that after 7.7 the changes are only minor and should be easy to >> handle. >> >> >> >> >> On Mon

[v8-users] Minimum gcc version to build v8 8.3

2020-06-29 Thread Nupoor Kotasthane
What is the minimum version of gcc required to build v8 8.3, which appears to be the most recent stable version of v8? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v

Re: [v8-users] Minimum gcc version to build v8 8.3

2020-06-30 Thread Nupoor Kotasthane
if I'm reading https://packages.ubuntu.com/xenial/gcc right. > > > On Tue, Jun 30, 2020 at 4:22 AM Nupoor Kotasthane > wrote: > >> What is the minimum version of gcc required to build v8 8.3, which >> appears to be the most recent stable version of v8? >

Re: [v8-users] Debugging ES6 modules with V8 inspector

2020-06-30 Thread Nupoor Kotasthane
, June 26, 2020 at 9:07:45 AM UTC-7, Nupoor Kotasthane wrote: > > Hi Ben, > > Here's the example I have been using: > I have two mjs files: > sample.mjs: > import {a} from '/testmod.mjs'; > let p = 9; > var t1 = 1; > var t2 = 2; > var t3 = 3; > var t

Re: [v8-users] Debugging ES6 modules with V8 inspector

2020-07-09 Thread Nupoor Kotasthane
I am able to reproduce the same behavior with Node.js v10.21.0. On Tuesday, June 30, 2020 at 5:46:07 PM UTC-7, Nupoor Kotasthane wrote: > > The observation here was that we are able to inspect, only the objects > that are imported/exported, using Debugger.evaluateOnCallFrame. Fo