module IRB::ExtendCommand::Debug::DEBUGGER__

Public Class Methods

capture_frames(*args) click to toggle source
# File irb/cmd/debug.rb, line 78
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