you can hook builtins with the help of Runtime function. Or you can write 
your own builtins. I have done something like this.

在 2019年7月18日星期四 UTC+8上午7:15:16,Nupoor Kotasthane写道:
>
> Hi v8 users,
>
>  
>
> I would like to know if there is any way through which I can get a 
> callback from v8 before and after evaluation of every JavaScript statement. 
> Are there any C++ hooks or callbacks or APIs that I can use? I need to get 
> notified by v8 and on receiving these notifications I want to make some 
> calls to the v8 inspector in the same thread.
>
> Does anyone have any examples?
>
>  
>
> Thank you,
>
> Nupoor
>

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/04a67cde-21cd-4bfe-aa18-d2921c85633c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to