[Ironruby-core] Patch submitted - [#19230] Time implementation

2008-03-31 Thread Eric Nicholson
Hey Guys, Josh Charles put a bug in my ear (thanks Josh!), so I got off my duff and submitted a patch for the Time class that's been sitting on my laptop for months. It should have implementations for most of the basic Time functionality save for the strftime method. It'll pass 22 of the 55 time

Re: [Ironruby-core] debugging IR

2008-03-31 Thread Jimmy Schementi
You have to explicitly tell the DLR to generate "debuggable" code. ScriptRuntime env = ScriptRuntime.Create(setup); env.GlobalOptions.DebugMode = true; ScriptEngine MyEngine = env.GetEngineByFileExtension("rb"); // ... MyEngine.CreateScriptSourceFromFile("MyRuby.rb").Execute(MyScope); Disclaimer:

Re: [Ironruby-core] debugging IR

2008-03-31 Thread Robert Brotherus
I have been embedding IronRuby to our WPF C# application, so I am not starting rbx but rather doing calls like: MyEngine.CreateScriptSourceFromFile("MyRuby.rb").Execute(MyScope); Any hope for me to get to use the nice new debugging goodies? :-) I did install the silverlight VS extension, include