Does anyone use untemplated properties that store C++ Function callbacks?
Can you tell me what I'm doing wrong here, because I find that DevTools
causes my embedded V8 engine to assert() when I do that.

 

A quick scan of the V8 code on the assert()'s call-stack leads me to the
following:

 



 

In my case, the property that I clicked on in DevTools is not part of an
object template; it has been added dynamically to that object using code
that looks something like this:

 



 

If I try to call the function using the property, V8 does actually invoke
myCallback() but, if I accidentally click on it while inspecting the object
in DevTools, then V8 asserts and blows up.

 

Thank you for any help!

 

Dan

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to