Hi, I have been trying to change the data displayed in Devtools tooltip for a C++ object returned to JavaScript. The details can be seen in the discussion carried out in v8-users group: https://groups.google.com/forum/#!topic/v8-users/XUdCBEzFqFY
When the callback *SetCallAsFunctionHandler()* is set on the *ObjectTemplate*, the tooltip starts showing up as *f anonymous()*. If the callback is not set, the name set using *SetClassName(), *on the *FunctionTemplate *which created the *ObjectTemplate *is displayed and other data is populated as set using *IndexedPropertyHandlerConfiguration *and *NamedPropertyHandlerConfiguration. *As per the functionality I am trying to achieve, I need to set *SetCallAsFunctionHandler() *callback. Eventhough tooltip data is displayed as anonymous, console.log prints out the name, like follows: *ƒ [object customValue ]* I want to know if the tooltip data can be edited while setting *SetCallAsFunctionHandler() *callback. Are there any APIs exposed to change this? regards, Anoop R. S. -- -- v8-dev mailing list [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
