[v8-users] Re: understanding v8 Inspector client

2017-04-25 Thread Anoop R. S.
Hi, Your reply to this question helped a lot in understanding the working of runMessageLoopOnPause and quitMessageLoopOnPause functions. Thanks for the explanation and keep up your work!!! regards, Anoop R. S. On Tuesday, 20 December 2016 13:17:32 UTC+5:30, Alexey Kozyatinskiy wrote

[v8-users] Re: v8 protocol not progressing after id:8

2017-05-18 Thread Anoop R. S.
;scriptId":"22","url":"my_Screen1","startLine":0,"startColumn":0,"endLine":19,"endColumn":0,"executionContextId":1,"hash":"FF07566204EF7A37E97781F777DD9282456E48B3","isLiveEdit":false,"s

[v8-users] Re: Hiding JS Script files in JS debugger

2017-05-18 Thread Anoop R. S.
::getCompiledScripts() which skips the scripts for which the flag has been set and displays only the others. I tested it with multiple contexts and it is showing only those for which is_embedder_debug_script is not set to false. Hope this is of help for you. regards, Anoop R. S. On Wednesday, 17

[v8-users] Debugging multiple v8 isolates

2017-05-18 Thread Anoop R. S.
Hi All, I have a requirement to debug multiple v8::isolates. I am able to successfully bring up debugging for multiple v8::context within a single isolate. Please provide any info if anyone is aware if this is supported or not. regards, Anoop R. S. -- -- v8-users mailing list v8-users

Re: [v8-users] Enable Debug Support for Multiple Isolates

2017-05-18 Thread Anoop R. S.
Hi Ian, I am also trying to achieve what you are trying. Where you able to debug multiple isolates? Please provide some info. regards, Anoop R. S. On Thursday, 4 September 2014 02:23:07 UTC+5:30, Ian Bull wrote: > > Currently I'm targeting 3.26 (I had trouble building 3.27 & 3.2

[v8-users] Re: Enable Debug Support for Multiple Isolates

2017-05-18 Thread Anoop R. S.
you would be generating new port numbers for each new v8::isolate that is to be debugged. Am I getting it correctly? Is there any way around that? Could we achieve the debugging of multiple v8::isolate by exposing the websocket service in a single port? regards, Anoop R. S. -- -- v8-users mai

[v8-users] Re: Hiding JS Script files in JS debugger

2017-05-19 Thread Anoop R. S.
se contexts,* for which is_embedder_debug_script is not set to *true*. regards, Anoop R. S. -- -- 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 "v8-users" group. T

[v8-users] Re: Enable Debug Support for Multiple Isolates

2017-05-24 Thread Anoop R. S.
https://groups.google.com/forum/#!search/v8$20debugging/v8-users/9G1SXYNNf0M/79DdexFCBgAJ Maybe someone having the same query might benefit. regards, Anoop R. S. On Friday, 19 May 2017 09:50:02 UTC+5:30, Anoop R. S. wrote: > > I would like to enable debug support for each isolate (

[v8-users] Re: Enable Debug Support for Multiple Isolates

2017-05-24 Thread Anoop R. S.
Hi Zac, Thank you for replying. Then how they do it for Chrome? I mean, we can open localhost:9222 and select the tabs that we want to inspect. I had a notion that each tab corresponds to separate v8::isolate. regards, Anoop R. S. On Thursday, 25 May 2017 09:36:07 UTC+5:30, Zac Hansen wrote

[v8-users] Re: Enable Debug Support for Multiple Isolates

2017-05-24 Thread Anoop R. S.
isolate correctly. regards, Anoop R. S. On Thursday, 25 May 2017 10:45:52 UTC+5:30, Ian Bull wrote: > > When I originally asked this question it was about the debug agent. That > agent no longer exists. > > I now use the JS debugger that's available in V8. You can set a flag >

[v8-users] Re: v8 protocol not progressing after id:8

2017-05-28 Thread Anoop R. S.
nal::Object * * args_object, v8::internal::Isolate * isolate) Line 25 + 0xde bytes C++ Hope I am not too late for the reply. regards, Anoop R. S. --From Mail > Hi Anoop, > > Thanks for your reply and very sorry for the delay in my reply as I was > on vacation and did not get a chance

[v8-users] Re: Enable Debug Support for Multiple Isolates

2017-06-08 Thread Anoop R. S.
. S. On Thursday, 25 May 2017 11:06:20 UTC+5:30, Anoop R. S. wrote: > > Thank you for replying, Ian. > I guess you are using something which uses node.js. But my case is > different. We have embedded v8 into our application without any node.js > involved. > I guess the corre

Re: [v8-users] Partially executing a Javascript file in v8 c++ program

2017-08-10 Thread Anoop R. S.
Hi, function_value would be values that are passed to the function. function_name would be a v8::String which has the javascript function name function would be a v8::Function whcih is used to call the javascript function. This snippet would make it more clear auto js_strFunction = v8::String:

[v8-users] Issues with debug_context_

2017-09-22 Thread Anoop R. S.
Hi All, Does anyone know why debug_context_ is used? This is created when DevTools passes *{"id":7,"method":"Debugger.enable"} *to the back-end. This is the call-stack : * v8.dll!v8::internal::Debug::Load() Line 471 C++* * v8.dll!v8::internal::Debug::UpdateState() Line 2092 C++* * v8.dll!v8::

[v8-users] Issues with debug_context_

2017-09-22 Thread Anoop R. S.
e has any idea on this behaviour? Please reply if more details are needed. Thanks, Anoop R. S. -- -- 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 "v8-users" group.

[v8-users] Debugging wrapped C++ object

2018-05-07 Thread Anoop R. S.
var p = Point(1,2); Has anyone tried debugging a wrapped C++ object that is being returned to Javascript? Is it possible? regards, Anoop R. S. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed t

[v8-users] Re: Debugging wrapped C++ object

2018-05-09 Thread Anoop R. S.
LcBGAs/s1600/Capture.PNG> Are there any callbacks are available to set the content that is displayed as value of p? Also, other than x and y, which are members of *Point, *another property named *splice* is showing up. When is this property accessed? Please let me know if you have any informati

[v8-users] Re: Debugging wrapped C++ object

2018-05-09 Thread Anoop R. S.
Also, when I do a mouse over on the variable p, *AccessorGetterCallbackFunction* is invoked, which makes me believe that this function is responsible for displaying the content of the variable. But whatever value I set, *v8::Integer* or *v8:String*, it is displayed blank. regards, Anoop R. S

[v8-users] Re: Debugging wrapped C++ object

2018-05-09 Thread Anoop R. S.
I noticed something else. Whatever value I set using *info.GetReturnValue().Set(), *I am able to see when I do this : *console.log(cppVariable.__proto__);* What maybe the reason for that? regards, Anoop R. S. On Wednesday, 9 May 2018 19:42:35 UTC+5:30, Anoop R. S. wrote: > > Also, when

[v8-users] Re: Debugging wrapped C++ object

2018-05-09 Thread Anoop R. S.
e know about it/ point me to some documentation regarding this. regards, Anoop R. S. On Tuesday, 8 May 2018 10:05:12 UTC+5:30, Anoop R. S. wrote: > > Hi All, > I am trying out a debugger prototype using the remote debugger protocol. > Going by the standard example in Embedder

Re: [v8-users] Re: Debugging wrapped C++ object

2018-05-10 Thread Anoop R. S.
:03 UTC+5:30, Ben Noordhuis wrote: > > On Thu, May 10, 2018 at 8:42 AM, Anoop R. S. > wrote: > > Ok. I figured out that if v8::IndexedPropertyHandlerConfiguration is > set, > > and IndexedPropertyEnumeratorCallback is implemented, I can configure > what &

Re: [v8-users] Re: Debugging wrapped C++ object

2018-05-10 Thread Anoop R. S.
aviour, I would assume that *evaluateOnCallFrame *(similar behaviour is shown by the message *Runtime.getProperties* also, which I think fetches the variable values for the overlay display) treats the variable as an indexed property. regards, Anoop R. S. On Thursday, 10 May 2018 13:10:03 UTC+

Re: [v8-users] Re: Debugging wrapped C++ object

2018-05-10 Thread Anoop R. S.
aviour, I would assume that *evaluateOnCallFrame *(similar behaviour is shown by the message *Runtime.getProperties* also, which I think fetches the variable values for the overlay display) treats the variable as an indexed property. regards, Anoop R. S. On Thursday, 10 May 2018 13:10:03 UTC+

[v8-users] Re: Passing variables from C++ to JavaScript (server-side to client-side)?

2018-05-12 Thread Anoop R. S.
Hi, Please see if this is of any help. I am not sure whether this is what you meant. https://github.com/anoop-rs/C-ObjectAccessUsingV8 regards, Anoop R. S. On Sunday, 13 May 2018 00:05:11 UTC+5:30, Osman Zakir wrote: > > My issue is as stated in the title. Is it possible to do this us

[v8-users] Re: Passing variables from C++ to JavaScript (server-side to client-side)?

2018-05-17 Thread Anoop R. S.
I don't have much idea about Node.js. I used v8 for embedding. regards, Anoop R. S. On Friday, 18 May 2018 06:09:28 UTC+5:30, Osman Zakir wrote: > > Hi, > > Thanks for the answer. > > I think this can help me. I also need to know if I need to actually make > a C++

[v8-users] Re: Debugging wrapped C++ object

2018-05-20 Thread Anoop R. S.
ted as *function, *but ended up in *CALL_GENERATED_CODE* called in *Invoke()* in *execution.cc* regards, Anoop R. S. On Tuesday, 8 May 2018 10:05:12 UTC+5:30, Anoop R. S. wrote: > > Hi All, > I am trying out a debugger prototype using the remote debugger protocol. > Going by the s

[v8-users] Re: Debugging wrapped C++ object

2018-05-21 Thread Anoop R. S.
/** * Set the class name of the FunctionTemplate. This is used for * printing objects created with the function created from the * FunctionTemplate as its constructor. */ void SetClassName(Local name); This also leads me to believe that I am not using the *ObjectTemplate *as intended. regards,

[v8-users] Re: Debugging wrapped C++ object

2018-05-21 Thread Anoop R. S.
a function. ibon, can you please check if *SetCallAsFunctionHandler()* is set for your *ObjectTemplate*? regards, Anoop R. S. On Tuesday, 22 May 2018 10:03:11 UTC+5:30, Anoop R. S. wrote: > > Thank you for your reply, ibon. > I am using *FunctionTemplate *to expose the keyword '*P

[v8-users] Re: Debugging wrapped C++ object

2018-05-22 Thread Anoop R. S.
Yes, same behaviour is observed here. In console, it is printed as ƒ [object customValue ] Thank you for your help, ibon. :) regards, Anoop R. S. On Tuesday, 22 May 2018 14:49:55 UTC+5:30, ibon wrote: > > On my side, I don't do anything in the object template with > SetCallAsF

[v8-users] Tooltip display for objects wrapped in ObjectTemplate

2018-11-20 Thread Anoop R. S.
the tool-tip can be populated to some other value, but I won't be able to use it as a function. regards, Anoop R. S. -- -- 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 G

[v8-users] Re: Tooltip display for objects wrapped in ObjectTemplate

2018-11-25 Thread Anoop R. S.
Hi, Any pointers, anyone? On Tuesday, 20 November 2018 14:25:55 UTC+5:30, Anoop R. S. wrote: > > Hi all, > When *SetCallAsFunctionHandler *is set for an ObjectTemplate, the > tool-tip in devtools, while debugging (as well as the data in overlay) is > displaying as *f() anonymous*

[v8-users] Crash on SharedFunctionInfo::DebugName()

2019-03-25 Thread Anoop R. S.
one has any information about this issue. regards, Anoop R S. -- -- 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 "v8-users" group. To unsubscribe from this group an