the stringification of a function doesn't get me back the entire source though. That's what I need to send to chrome for debugging.
On Wednesday, October 12, 2016 at 12:17:20 AM UTC-7, Jochen Eisinger wrote: > > you can get the ScriptOrigin from a v8::Function via GetScriptOrigin. You > can also ToString a function to get the source, but you could as well > create a global to the source. > > On Wed, Oct 12, 2016 at 12:49 AM Zac Hansen <xax...@gmail.com > <javascript:>> wrote: > >> I'd like to keep around the data in a v8::ScriptCompiler::Source object, >> but I see it has v8::Local objects in it, which means I can't just make a >> Global out of it (right?). >> >> Is there some way to reacquire that object later or to keep it around >> indefinitely (outside of a handle scope)? >> >> Thank you. >> >> --Zac >> >> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com <javascript:> >> 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+u...@googlegroups.com <javascript:>. >> For more options, visit 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.