: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shri Borde
Sent: Tuesday, December 30, 2008 2:28 PM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] Interpreter, backtrace, and call site caching
For backtraces to work correctly in interpreter
For backtraces to work correctly in interpreter mode, it is required that the
interpreter guard every call to C# code with a try-catch, so that the catch
block has a chance to stash away the backtrace if an exception is thrown. This
is done in Interpreter.InvokeMethod, and the catch block gives