# File lib/ruby-debug-base.rb, line 225 def post_mortem_method(meth) old_meth = "__postmortem_#{meth}" old_meth = "#{$1}_set" if old_meth =~ /^(.+)=$/ alias_method old_meth.to_sym, meth class_eval "def \#{meth}(*args, &block)\nDebugger.start do |dbg|\ndbg.post_mortem do\n\#{old_meth}(*args, &block)\nend\nend\nend\n" end