post_mortem (Debugger)

    # File lib/ruby-debug-base.rb, line 126
        def post_mortem
          if block_given?
            old_post_mortem = self.post_mortem?
            begin
              self.post_mortem = true
              yield
            rescue Exception => exp
              handle_post_mortem(exp)
              raise
            ensure
              self.post_mortem = old_post_mortem
            end
          else
            return if post_mortem?
            self.post_mortem = true
            debug_at_exit do
              handle_post_mortem($!) if $! && post_mortem?
            end
          end
        end