pry-debugger
pry-debugger copied to clipboard
Finish does not return to where `step` was called
How do I finish all the way back to the context where I called step from in the first place? It seems like calling finish
takes me to unknown parts of the pry. For example,
user = User.first break user.some_method user.some_method next step # Step into first line of User#some_method finish
I expect the finish
command at the end to take me back to the the User#some_method context. But instead, it takes me to line 329 of /home/vagrant/.rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/pry-0.9.12.6/lib/pry/pry_instance.rb.
Is there something I'm missing about the finish
command? Is there a way to return to the context that I first called step
in?