I skimmed through the source you've linked, but it's not entirely clear to me what you're actually doing. If you could post the non-working version and the crash stack that might help.
Assuming you managed to get stuff working with strings, and are happy with this solution, I guess that's fine, right? On Wed, Feb 3, 2016 at 2:40 AM Scott Duensing <[email protected]> wrote: > I gave up. After fixing a few Local<Object> returns that weren't > Escape()'ed I ended up with the code blowing up for not having a > HandleScope... Which made no sense because where it blew up was on the > line where I had created an EscapableHandleScope. > > I worked around the entire mess of trying to pass Local<Object>s around by > converting them to JSON strings and returning those. Meh. > > > Scott > > > On Monday, February 1, 2016 at 6:53:13 PM UTC-6, Scott Duensing wrote: >> >> The exact line is: >> http://skunkworks.kangaroopunch.com/projects/scripting/repository/revisions/master/entry/Scripting/scripting.cpp#L76 >> >> What this bit of (unfinished) code does is allow you to load scripts into >> individual contexts and call between them passing JSON in and out to >> exchange data. >> >> This was working. Then I added the code to pass JSON objects in as >> function arguments. Now nothing works. There's something wrong, >> scope-wise, but I can't find it. I'm new to V8 and finding docs is uphill >> work. :-( Can someone take pity on my poor brain and lend a hand? The >> platform is x64 Ubuntu 15.10. The script I used to download and build V8 >> is included. >> >> Thank you in advance! >> >> >> Scott >> >> -- > -- > v8-users mailing list > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-users mailing list [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
