[MacRuby] #203: Marshal.dump does not serialize an Exception's backtrace
#203: Marshal.dump does not serialize an Exception's backtrace ----------------------------------------+----------------------------------- Reporter: vincent.isambart@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- The following code: {{{ begin raise 'test' rescue Exception => e p e.backtrace p Marshal.load(Marshal.dump(e)).backtrace end }}} displays: {{{ ["untitled.rb:2:in `<main>'"] nil }}} instead of: (Ruby 1.9) {{{ ["untitled.rb:2:in `<main>'"] ["untitled.rb:2:in `<main>'"] }}} If you look at the (binary) result of Marshal.dump(e), you can indeed see that it does not include the backtrace in MacRuby. -- Ticket URL: <http://www.macruby.org/trac/ticket/203> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby