Skip to Content Skip to Search
Methods
C

Class Public methods

capture_frames(*args)

# File ruby/lib/irb/debug.rb, line 49
def DEBUGGER__.capture_frames(*args)
  frames = capture_frames_without_irb(*args)
  frames.reject! do |frame|
    frame.realpath&.start_with?(IRB_DIR) || frame.path == "<internal:prelude>"
  end
  frames
end