module Pry

Attributes

processor[R]

Public Class Methods

start(target = TOPLEVEL_BINDING, options = {}) click to toggle source
Also aliased as: start_without_pry_debugger
start_with_pry_debugger(target = TOPLEVEL_BINDING, options = {}) click to toggle source
# File lib/pry-debugger/pry_ext.rb, line 8
def start_with_pry_debugger(target = TOPLEVEL_BINDING, options = {})
  @processor ||= PryDebugger::Processor.new

  if target.is_a?(Binding) && PryDebugger.check_file_context(target)
    # Wrap the processer around the usual Pry.start to catch navigation
    # commands.
    @processor.run(true) do
      start_without_pry_debugger(target, options)
    end
  else
    # No need for the tracer unless we have a file context to step through
    start_without_pry_debugger(target, options)
  end
end
Also aliased as: start
start_without_pry_debugger(target = TOPLEVEL_BINDING, options = {}) click to toggle source
Alias for: start