[MacRuby-devel] [MacRuby] #342: Wrong line numbers in backtrace
MacRuby
ruby-noreply at macosforge.org
Sun Sep 20 02:44:50 PDT 2009
#342: Wrong line numbers in backtrace
------------------------+---------------------------------------------------
Reporter: dev@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
------------------------+---------------------------------------------------
{{{
box:Desktop $ cat raise1.rb
p 42
raise "ouch"
box:Desktop $ macruby raise1.rb
42
core:in `raise:': ouch (RuntimeError)
from raise1.rb:1:in `<main>'
box:Desktop $ cat raise2.rb
#p 42
raise "ouch"
box:Desktop $ macruby raise2.rb
core:in `raise:': ouch (RuntimeError)
from raise2.rb:2:in `<main>'
}}}
The only difference between the files is the comment char # in line 1!
BTW, thanks for implementing the long awaited backtrace, great job!
--
Ticket URL: <http://www.macruby.org/trac/ticket/342>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list