You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My apologies if this has been suggested before, but I think it would be super useful to have a command that lets you run until you hit the next line of non-Rails/non-gem code.
Here's an example scenario: I'd like to use contracts.ruby to enforce calling contracts on methods. The problem I run into is that if I want to use pry-byebug to step into a method call, it ends up stepping into contracts code first. Although a workaround is possible via combinations of step, up and next, it's very easily to screw that up and end up accidentally stepping right over the method call. A single command that would run until hitting code that isn't inside a gem would be way more convenient.
If I have the time at some point, I'll see if I can delve into this myself and maybe get a PR up for it, but in the meantime I wanted to mention it. Thanks a lot!
The text was updated successfully, but these errors were encountered:
My apologies if this has been suggested before, but I think it would be super useful to have a command that lets you run until you hit the next line of non-Rails/non-gem code.
Here's an example scenario: I'd like to use contracts.ruby to enforce calling contracts on methods. The problem I run into is that if I want to use
pry-byebug
to step into a method call, it ends up stepping intocontracts
code first. Although a workaround is possible via combinations ofstep
,up
andnext
, it's very easily to screw that up and end up accidentally stepping right over the method call. A single command that would run until hitting code that isn't inside a gem would be way more convenient.If I have the time at some point, I'll see if I can delve into this myself and maybe get a PR up for it, but in the meantime I wanted to mention it. Thanks a lot!
The text was updated successfully, but these errors were encountered: