You can now get line numbers directly from the TryCatch; see the shell sample for an example of how to use this.
On Sep 4, 9:25 pm, "Christian Plesner Hansen" <[EMAIL PROTECTED]> wrote: > I can't test this but as far as I can see from the code that should be > a safe assumption. You may need to SetVerbose on the TryCatch for > this to work properly, otherwise I think the message callback will not > be called. > > On Thu, Sep 4, 2008 at 9:11 PM, Bryan White <[EMAIL PROTECTED]> wrote: > > >> Yes, you can store the Message object in a in a global variable if you > >> hold it in a Persistent handle. > > > That what not my concern. I was asking if it was reasonable to assume > > in the TryCatch handler that the most recent call of the > > MessageCallback was pertinent to the error. > > > -- > > Bryan White --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
