On Thu, Jul 5, 2012 at 4:21 PM, mschwartz <[email protected]> wrote:

>         // TryCatch tryCatch;
>         printf("CALL\n");
>         v = func->Call(context->Global(), 1, av);
>
>         // if (v.IsEmpty()) {
>             // printf("Exception!");
>             // ReportException(&tryCatch);
>         // }
>


Out of curiosity: did you comment that TryCatch out because it is no longer
relevant for you or because it doesn't work? i remember having "unspecified
headaches" with local-scoped TryCatches, very possibly due to my
inadvertent misuse of them. If the above is how they are supposed to be
used, i'll take another look at the code i had such problems with.

Also of note is if I throw an Error() from JS in a thread, it's caught, but
> the TryCatch doesn't seem to have valid data.
>

Ah, that's what i get for not reading to the end before asking questions :/.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to