Feature #839: Add code on each line of a backtrace output to the screen
http://redmine.ruby-lang.org/issues/show/839

Author: Roger Pack
Status: Open, Priority: Normal

This patch adds output to unrescued exceptions' output to the command line:

C:\dev\downloads\snap_snapshot>cat bad2.rb
def bad
 raise
end
def good
 bad
end
good

> ruby19 bad2.rb
bad2.rb:2:in `bad': unhandled exception
                 raise
        from bad2.rb:5:in `good'
                 bad
        from bad2.rb:7:in `<main>'
                 good

Wasn't sure if there is a better way to code this up or what not, but here it is.  Similar measures could be applied to 1.8.7.
Thanks!
-=R


----------------------------------------
http://redmine.ruby-lang.org