On Wed, Aug 3, 2016 at 11:40 AM, Abhishek Singh <singhabhishek....@gmail.com> wrote: > Hi Ben, > > Apologies for not providing the background. I’m trying to leverage C++ API to > drive V8 JSON debugger for embedded V8 use case, not sure if leveraging JS > API to drive debugger would be of utility in this situation. Here is high > level workflow pipeline for this use case: > > * There is a Golang server that listens on some sockets and receives > json/base64 encoded docs > * Golang guy pipelines the docs to CGO to embedded C++ V8 > implementation(primarily extending some functionalities that JS provides by > default). > * Golang server gets http calls encapsulating different JSON based V8 > debugger request commands and(CGO <-> V8 communication happens) accordingly > execution of user supplied code to be executed by embedded v8 needs to > pause/continue etc > > ========= > > Based on this use case, I very likely need to leverage > v8::Debug::SetMessageHandler and v8::Debug::SendCommand apis to handle user > requests to enforce breakpoints/continue/evaluate etc. So I was hoping if > anyone could share sample standalone code on top of C++ V8 debugger api(if > they have it lying somewhere around).
In that case perhaps you can look at test/cctest/test-debug.cc for inspiration? -- -- 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 and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.