Rhino - Set FEATURE_LOCATION_INFORMATION_IN_ERROR in code?

Posted by Scott on Stack Overflow See other posts from Stack Overflow or by Scott
Published on 2010-05-26T19:14:57Z Indexed on 2010/05/27 1:31 UTC
Read the original article Hit count: 369

Filed under:
|

I'd like fileName, lineNumber and stack traces to automatically be provided by Rhino for any errors.

I've been told that I need to set FEATURE_LOCATION_INFORMATION_IN_ERROR on the current context, but I'm not sure how to do this in code.

Does anybody have an example of turning this feature on so that I can see stacktrace dumps on crashes?

I'm using Rhino as part of Narwhal/Jack, and so that complicates things a bit, and I think the easiest way to at least get moving forward is if I can set it through code.

Thanks.

© Stack Overflow or respective owner

Related posts about rhino

Related posts about narwhal