Class: Byebug::PostMortemProcessor

Inherits:
CommandProcessor show all
Defined in:
lib/byebug/processors/post_mortem_processor.rb

Overview

Processes commands in post_mortem mode

Instance Attribute Summary

Attributes inherited from CommandProcessor

#context, #prev_line

Instance Method Summary collapse

Methods inherited from CommandProcessor

#at_breakpoint, #at_catchpoint, #at_end, #at_line, #at_return, #at_tracing, #command_list, #initialize, #interface, #printer, #proceed!, #process_commands

Methods included from Helpers::EvalHelper

#error_eval, #multiple_thread_eval, #separate_thread_eval, #silent_eval, #warning_eval

Constructor Details

This class inherits a constructor from Byebug::CommandProcessor

Instance Method Details

#commandsObject



8
9
10
# File 'lib/byebug/processors/post_mortem_processor.rb', line 8

def commands
  super.select(&:allow_in_post_mortem)
end

#promptObject



12
13
14
# File 'lib/byebug/processors/post_mortem_processor.rb', line 12

def prompt
  '(byebug:post_mortem) '
end