[v8-users] Re: Alternate for GetCallingContext

2019-11-19 Thread madana gopal
Thanks Ben. We tried GetCurrentContext(), but it didn't worked. i.e in below piece of code in deps/v8/src/builtins/builtins-function.cc: MaybeHandle CreateDynamicFunction(Isolate* isolate, BuiltinArguments args, c

[v8-users] Re: Alternate for GetCallingContext

2019-11-19 Thread Ben Ernst
Madan, I'm using GetCurrentContext() for where I have an isolate but I need a context. Have a look at the comments . Does that do what you need? Ben On Monday, 18 November 2019 22:28:09 UTC+8, madana gopal wrote: > > Hi, > > We have ca

Re: [v8-users] How to run a v8 shell standalone and inspect / debug with Chrome DevTools

2019-11-19 Thread joe lewis
Hello Stefan, Of course, you could build a windows version of node from my fork . While I did get V8 to work with Chrome DevTools, I'm not sure if it's the best way to go about. You should also try G

Re: [v8-users] How to run a v8 shell standalone and inspect / debug with Chrome DevTools

2019-11-19 Thread Stefan Wörthmüller
Hello, i have a similar problem. I embedded v8 in my c++ apllication and users can run small js scripts. But this is a windows program. All ive seen so far does not work with windows. Joe - will the approach you describe most likely work with windows? Regards Stefan Am Dienstag, 17. Septembe

Re: [v8-users] Getting empty function names from the "StackTrace::CurrentStackTrace" method

2019-11-19 Thread Darin Dimitrov
The --optimize-for-size flag doesn't seem to have any effect on the result. On Tuesday, November 19, 2019 at 9:50:33 AM UTC+2, Simon Zünd wrote: > > +Leszek Swirski > > I am unsure what impact lazy compilation has here. There might be a weird > interaction with the stack frame cache. Does the f