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

2020-07-10 Thread Isiah Meadows
Node v10 uses V8 6.8 (two years old), and the latest version of V8 is 8.4. On Thursday, July 9, 2020 at 1:42:07 PM UTC-7, Nupoor Kotasthane wrote: > > 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: >>

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. For all the >

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

2020-06-26 Thread Nupoor Kotasthane
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 t4 = 4; var temp = 1; temp = 2* temp; temp = 3* temp; temp testmod.mjs: export var a = 10; export var b = 20; export var c = 30;

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

2020-06-26 Thread Ben Noordhuis
On Thu, Jun 25, 2020 at 2:35 AM Nupoor Kotasthane wrote: > > I also notice that the 'this' object in the Debugger.CallFrame objects have > their 'type' set to 'undefined' when debugging ES6 modules. I also notice > that the variables declared in the starting module are missing from the scope >

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

2020-06-24 Thread Nupoor Kotasthane
I also notice that the 'this' object in the Debugger.CallFrame objects have their 'type' set to 'undefined' when debugging ES6 modules. I also notice that the variables declared in the starting module are missing from the scope when I try

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

2020-06-23 Thread Nupoor Kotasthane
Hi Ben, We have embedded V8 version 6.7 in our product. We use it to run and debug JavaScript. While debugging scripts is working okay, debugging ES6 modules using the inspector has this one problem. When using Debugger. evaluateOnCallFrame to inspect variables we keep getting an inspector

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

2020-06-23 Thread Ben Noordhuis
On Mon, Jun 22, 2020 at 8:18 PM Nupoor Kotasthane wrote: > > 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

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

2020-06-23 Thread joko suwito
Thank you Pada tanggal Sel, 23 Jun 2020 01.18, Nupoor Kotasthane menulis: > 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

[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