Sha256: b3a473c06332d1fc838d8ecf399a2171d0f40096c97f017f6fe378d2829d7714

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

require_relative './../command'
require_relative 'break'

class Trepan::Command::SetTempBreakpointCommand <
    Trepan::Command::BreakCommand
  ALIASES      = []
  CATEGORY     = 'breakpoints'
  NAME         = File.basename(__FILE__, '.rb')
  HELP         = <<-HELP
**#{NAME}**
**#{NAME}** *location* [ {if|unless} *condition* ]
#{NAME}

Same as break, but the breakpoint is deleted when it is hit.

See also:
---------
`condition`, `continue`, `help syntax location`, and `break`
      HELP
  SHORT_HELP   = 'Set a temporary breakpoint'

  def run(args)
    super args, true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trepanning-2.15.35 processor/command/tbreak.rb
trepanning-1.93.35 processor/command/tbreak.rb
trepanning-2.15.33 processor/command/tbreak.rb
trepanning-1.93.32 processor/command/tbreak.rb