lib/backtracer.rb in backtracer-0.2.3 vs lib/backtracer.rb in backtracer-0.2.4

- old
+ new

@@ -2,13 +2,12 @@ require File.dirname(__FILE__) + "/shared" require 'sane' at_exit { - if $! - puts "==== " + puts "==== " + $!.inspect + ' ' + $!.to_s bt2 = $!.backtrace backtrace_with_code = $!.backtrace.map{ |bt_line| if OS.windows? && bt_line[1..1] == ':' #["C", "/dev/ruby/allgems/lib/allgems/GemWorker.rb", "91", "in `unpack'"] drive, file, line, junk = bt_line.split(":") @@ -24,8 +23,8 @@ puts backtrace_with_code puts "====" else puts "(no exception found to backtrace)" end -# exit! TODO put back in once I output .to_s, etc -# TODO compare with that fella + + # TODO compare with that fella xray }