Re: [v8-users] Adding debugger support to a v8-based application

2014-08-26 Thread Petar Dobrev
Thanks Ben, that's helpful! On Sun, Aug 24, 2014 at 11:33 PM, Ben Noordhuis wrote: > On Sun, Aug 24, 2014 at 12:00 PM, Petar Dobrev > wrote: > > Hello! > > > > I'd like to add debugger support to an application that uses v8 and tried > > following the resource on the topic from the wiki: > > h

Re: [v8-users] Adding debugger support to a v8-based application

2014-08-26 Thread Bit Cortex
Thank you very much, Ben! On Tuesday, August 26, 2014 7:52:56 AM UTC-4, Ben Noordhuis wrote: > > On Mon, Aug 25, 2014 at 10:02 PM, Bit Cortex > wrote: > > 1. How does the embedder know what reponse to send to the debugger? > > v8::Debug::SendCommand() doesn't return anything. > > You send or c

Re: [v8-users] Adding debugger support to a v8-based application

2014-08-26 Thread Ben Noordhuis
On Mon, Aug 25, 2014 at 10:02 PM, Bit Cortex wrote: > 1. How does the embedder know what reponse to send to the debugger? > v8::Debug::SendCommand() doesn't return anything. You send or collect the response in the message handler that you register with v8::Debug::SetMessageHandler(): void Hand

Re: [v8-users] Adding debugger support to a v8-based application

2014-08-25 Thread Bit Cortex
Hi Ben, A couple of questions: 1. How does the embedder know what reponse to send to the debugger? v8::Debug::SendCommand() doesn't return anything. 2. Do you know if the debug protocol change will affect V8's debugging API? Thanks! On Sunday, August 24, 2014 4:33:10 PM UTC-4, Ben Noordhuis w

Re: [v8-users] Adding debugger support to a v8-based application

2014-08-24 Thread Ben Noordhuis
On Sun, Aug 24, 2014 at 12:00 PM, Petar Dobrev wrote: > Hello! > > I'd like to add debugger support to an application that uses v8 and tried > following the resource on the topic from the wiki: > https://code.google.com/p/v8/wiki/AddDebuggerSupport > > However, it seems that in v8-debug.h in trunk

[v8-users] Adding debugger support to a v8-based application

2014-08-24 Thread Petar Dobrev
Hello! I'd like to add debugger support to an application that uses v8 and tried following the resource on the topic from the wiki: https://code.google.com/p/v8/wiki/AddDebuggerSupport However, it seems that in v8-debug.h in trunk (https://code.google.com/p/v8/source/browse/trunk/include/v8-de