lib/byebug/commands/display.rb in byebug-2.3.1 vs lib/byebug/commands/display.rb in byebug-2.4.0

- old
+ new

@@ -20,10 +20,12 @@ end end end class AddDisplayCommand < Command + self.allow_in_post_mortem = false + def regexp /^\s* disp(?:lay)? \s+ (.+) \s*$/x end def execute @@ -43,10 +45,12 @@ end end end class DisplayCommand < Command + self.allow_in_post_mortem = false + def self.always_run 2 end def regexp @@ -67,9 +71,11 @@ end end end class DeleteDisplayCommand < Command + self.allow_in_post_mortem = false + def regexp /^\s* undisp(?:lay)? (?:\s+(\S+))? \s*$/x end def execute