[MacRuby] #532: The backtrace does not contain line numbers for code in blocks
#532: The backtrace does not contain line numbers for code in blocks ----------------------------------------+----------------------------------- Reporter: vincent.isambart@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- Sample code: (lines.rb) {{{ begin 1.times do raise '' end rescue => e puts e.backtrace end }}} MacRuby: {{{ core:in `raise:' core:in `times' lines.rb:in `<main>' }}} Ruby 1.9: {{{ lines.rb:3:in `block in <main>' lines.rb:2:in `times' lines.rb:2:in `<main>' }}} In the MacRuby backtrace, there is no line number (or even file name) for the code in the block. -- Ticket URL: <http://www.macruby.org/trac/ticket/532> MacRuby <http://macruby.org/>
#532: The backtrace does not contain line numbers for code in blocks ----------------------------------------+----------------------------------- Reporter: vincent.isambart@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.6 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------------+----------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: MacRuby 0.5 => MacRuby 0.6 Comment: This has been fixed in trunk (I do not remember the exact revision though). Our backtraces are not yet 100% identical to MRI but at least blocks are there. -- Ticket URL: <http://www.macruby.org/trac/ticket/532#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby