Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

prevent pry-nav turning on the tracer for non-bindings #7

Merged
merged 1 commit into from

2 participants

@banister
Collaborator

without this patch sessions such as 5.pry break

@nixme
Owner

Thanks @banister!

@nixme nixme merged commit 0ed2b30 into nixme:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 2, 2012
  1. @banister
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/pry-nav/pry_ext.rb
View
2  lib/pry-nav/pry_ext.rb
@@ -7,7 +7,7 @@ class << Pry
def start(target = TOPLEVEL_BINDING, options = {})
old_options = options.reject { |k, _| k == :pry_remote }
- if PryNav.check_file_context(target)
+ if target.is_a?(Binding) && PryNav.check_file_context(target)
# Wrap the tracer around the usual Pry.start
PryNav::Tracer.new(options).run do
start_existing(target, old_options)
Something went wrong with that request. Please try again.