Sha256: 5b9457d971c9ba9386ad08bf6c69ccf41eb4fad247b93bb1e817c2ab68f94db3
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
class PryMoves::NextBreakpoint < PryMoves::TraceCommand def init(binding_) @reach_digest = frame_digest(binding_) end def trace(event, file, line, method, binding_) if @reach_digest if @reach_digest == current_frame_digest @reach_digest = nil else return end end if method.to_s.include? "debug" @pry_start_options[:initial_frame] = 1 true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pry-moves-1.0.2 | lib/commands/next_breakpoint.rb |
pry-moves-1.0.1 | lib/commands/next_breakpoint.rb |
pry-moves-1.0.0 | lib/commands/next_breakpoint.rb |