Maybe this standalone example for V8 JS Debugger might help - https://gist.github.com/abhi-bit/20b8569bc5d655659b51d425564eb49d <https://gist.github.com/abhi-bit/20b8569bc5d655659b51d425564eb49d> . I didn’t try it on windows before, but should work there as well.
> On 17-Oct-2016, at 04:02, 'WIlliam Taylor' via v8-users > <v8-users@googlegroups.com> wrote: > > > Hi, > > Apologies if this is a trivial thing. I've been embedding V8 inside my own > C++ application and have been working to get the JSON debugging protocol > working. > > I have a background thread which listens to debugging JSON commands from > Visual Studio Code and I forward them to V8 and I send them via > v8::Debug::SendCommand. I also then send back JSON responses from V8 by > listening for it then sending it to VSCode. Of course I also call > v8::Debug::ProcessDebugMessages from time to time to make sure messages are > being dealt with. > > Everything works apart from setting breakpoints. VSCode says they are > registered however when I call Debug.showAllBreakpoints(FunctionName) via > JavaScript no breakpoint has been bound to the JavaScript function even > though the JSON V8 sends back to VSCode says it has. There are also no > exceptions and no error messages. > > I imagine I'm missing something big, anyone got an ideas?. > > Thanks in advance, hope I didn't drag on too much :) > > V8 version: 5.1.281.84 > OS: Windows 10 > > I was also using this tutorial for a starting point. Specifically the remote > debugging section. > > http://www.equals-forty-two.com/2015/03/04/v8-integration-in-a-game-engine/ > > > > > > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > <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 > <mailto:v8-users+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- -- 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.