Yeah, they are a work in progress. Backtrace is probably hard to spec because it may differ implementation to implementation.
JD -----Original Message----- From: Ben Hall <[EMAIL PROTECTED]> Sent: September 28, 2008 2:57 PM To: [email protected] <[email protected]> Subject: Re: [Ironruby-core] Backtrace supported? Hi Jim, Sorry, I got confused by your tests and RubySpecs E:\IronRuby\trunk\build\release>rake mspec:core Exception (in E:/IronRuby/trunk) ........................................ Finished in 8.744558 seconds 21 files, 40 examples, 40 expectations, 0 failures, 0 errors However, I had a quick look at what was included. backtrace_spec.rb is empty. Git commit notification seems to imply its waiting for someone to write it :) Are many of the specs empty? I assume they are a work in progress... Thanks Ben On Sun, Sep 28, 2008 at 7:55 PM, Jim Deville <[EMAIL PROTECTED]> wrote: > I don't know if its implemented yet, but you should also check the RubySpecs > to se what is tested. > > -----Original Message----- > From: Ben Hall <[EMAIL PROTECTED]> > Sent: September 28, 2008 4:19 AM > To: [email protected] <[email protected]> > Subject: [Ironruby-core] Backtrace supported? > > > Hello, > > I was just wondering if backtrace was supported yet with Exceptions. > > In my code, I had this: > rescue Exception => e > > However, the backtrace is always nil. > > puts e > puts e.backtrace.nil? > > Is this a known issue? Is there anyway to find out what is \ isn't > implemented yet? > > trunk\tests\ironruby\Runtime\Exception spec's don't seem to cover backtrace. > > Thanks > > Ben > _______________________________________________ > Ironruby-core mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ironruby-core > _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
