jschementi / iron

[Jimmy Schementi's development fork] Implementations of Python and Ruby programming languages for .NET Framework that are built on top of the Dynamic Language Runtime.
http://ironruby.net
17 stars 2 forks source link

Fix Ruby exception messages #32

Open jschementi opened 15 years ago

jschementi commented 15 years ago

Ruby exception messages are only CLR stack traces. rb> document.foo System.MissingMethodException: undefined method `foo' for Microsoft.Scripting.Silverlight.DynamicHtmlDocument:Microsoft::Scripting::Silverlight::DynamicHtmlDocument at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.RunInstructions(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) at IronRuby.Runtime.RubyScriptCode.Run(Scope scope, Boolean bindGlobals) at IronRuby.Runtime.RubyScriptCode.Run(Scope scope) at Microsoft.Scripting.Hosting.CompiledCode.Execute(ScriptScope scope) at Microsoft.Scripting.Silverlight.Repl.ExecuteCode(ScriptSource source)