Ticket #532 (closed defect: fixed)
The backtrace does not contain line numbers for code in blocks
| Reported by: | vincent.isambart@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
Sample code: (lines.rb)
begin
1.times do
raise ''
end
rescue => e
puts e.backtrace
end
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.
Change History
Note: See
TracTickets for help on using
tickets.

