It is not possible to register a callback for exceptions thrown in the normal V8 API. The debugger API gets notified for each exception thrown - both caught and uncaught, but if this is intended for use with normal running code activating the debugger might not be the right thing to do.
Regards, Søren On Sat, Jun 18, 2011 at 17:13, Stephan Beal <[email protected]> wrote: > Hi, gurus, > > i'm looking for a function which will allow me, from app-independent > library-level code, to see when an exception is thrown (without me actually > catching it or influencing the script's flow). Does such a beast exist in > the v8 API? e.g. a hypothetical AddExceptionListener()? > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
