module PryDebugger

Constants

Commands
TRACE_IGNORE_FILES
VERSION

Attributes

current_remote_server[RW]

Reference to currently running pry-remote server. Used by the processor.

Public Instance Methods

check_file_context(target) click to toggle source

Checks that a binding is in a local file context. Extracted from github.com/pry/pry/blob/master/lib/pry/default_commands/context.rb

# File lib/pry-debugger/base.rb, line 8
def check_file_context(target)
  file = target.eval('__FILE__')
  file == Pry.eval_path || (file !~ %r(\(.*\))|<.*>/ && file != '' && file != '-e')
end