Minimal example of the v8-inspector c++ api

331 views
Skip to first unread message

tbl...@icloud.com

unread,
Jan 27, 2017, 11:21:21 PM1/27/17
to v8-users
I've been trying to use the v8-inspector C++ api in my app, but it doesn't seem to be working. I have a feeling I'm probably misunderstanding something simple due to the lack of documentation and comments in v8-inspector.h. Could someone create a minimal example of using the v8-inspector c++ api to do some simple debugging?

~Theodore

Jared Wyles

unread,
Jan 28, 2017, 5:05:55 PM1/28/17
to v8-users
I managed to get a prototype working in the app i was working on by following the example in nodejs. While it isn't minimal it was easy enough to understand. 

Theodore Dubois

unread,
Jan 29, 2017, 11:21:19 AM1/29/17
to v8-u...@googlegroups.com
I eventually realized that my app wasn’t working because I didn’t realize I needed to call contextCreated on the inspector.

~Theodore
> --
> --
> v8-users mailing list
> v8-u...@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/vimbs0gn5ps/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Yang Guo

unread,
Feb 8, 2017, 3:07:34 AM2/8/17
to v8-users
v8/src/d8.cc embeds the inspector in a fairly simple manner. Maybe you can use it as example?

Cheers,

Yang
Reply all
Reply to author
Forward
0 new messages