DEBUGGER__::Breakpoint
# File debug-1.4.0/lib/debug/breakpoint.rb, line 105 def initialize iseq, events, oneshot: false @events = events @iseq = iseq @oneshot = oneshot @key = [:iseq, @iseq.path, @iseq.first_lineno].freeze super() end
# File debug-1.4.0/lib/debug/breakpoint.rb, line 121 def enable @tp.enable(target: @iseq) end
# File debug-1.4.0/lib/debug/breakpoint.rb, line 114 def setup @tp = TracePoint.new(*@events) do |tp| delete if @oneshot suspend end end
This page was generated for Ruby 3.1.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.42.0.