module IRB::Debug::DEBUGGER__

Public Class Methods

capture_frames(*args) click to toggle source
# File 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