Comments (10)
i found that removing pry-nav from my gemfile returned functionality to next. see also: #9
from pry-byebug.
Hi @zw963, sorry for taking such a long time to get back to you.
Regarding the first issue you describe, pry-byebug
behaves just like byebug
: step
steps into the for
loop while next
jumps over it. I think the behaviour is fine.
Regarding the second issue, the same thing can be observed in byebug
. It looks when doing (1..10)
, the TracePoint API generates a duplicated line event, for some reason. I will further investigate this and report it to ruby-head if necessary. If you use only byebug
, you can workaround this using set forcestep
that will always move to a new line when stepping/nexting. Unfortunately, this is not available in pry-byebug
.
Cheers!
from pry-byebug.
@zw963 I've reported the bug about the duplicate events to ruby-core: https://bugs.ruby-lang.org/issues/10449
from pry-byebug.
Thank you for you reply !
from pry-byebug.
@zw963 The bug has already been fixed, but I'm going to wait for 2.2 to be released to confirm we can close this.
from pry-byebug.
@davidrunger Could you confirm this issue is solved in Ruby 2.2.0?
from pry-byebug.
Yes, I can confirm that, with Ruby 2.2.0, I no longer have the issue that I was having before of getting "stuck" at a line with parentheses and having to type next
/step
an extra time to advance forward in the code. Thanks for following up!
I tested using:
Ruby 2.2.0 (the official release, obtained via rbenv)
byebug 3.5.1
pry-byebug 2.0.0
pry 0.10.1
from pry-byebug.
Thanks for testing! I'll go ahead and close this, then.
from pry-byebug.
Thanks a lot for all.
from pry-byebug.
@zw963 No problem! 😄
from pry-byebug.
Related Issues (20)
- It's possible to start a REPL session passing a command? HOT 1
- Loading pry-byebug on Archlinux fails with "cannot load such file -- irb" HOT 1
- Newest version of Pry breaks pry-byebug HOT 15
- Pry Byebug specifies an older version of Pry HOT 1
- Deprecation warnings in Ruby 2.7 HOT 2
- Pry "next" alias does not work
- Any plans for a new release? HOT 4
- less: unrecognized option: X HOT 1
- PR proposition : Deprecated - Pry.config.control_d_handler HOT 6
- Repeated newlines in multi-line strings are ignored
- NameError: undefined local variable or method `text' for #<PryByebug::BreakCommand HOT 2
- New release? HOT 2
- Deprecation warnings Pry v 0.14.1 on Ruby v 3.1.1 HOT 1
- Relax restriction for byebug version HOT 5
- The version 3.10.0 breaks rails console HOT 8
- Build failure with ruby-pry-byebug version 3.9.0-1
- Run error using Ruby 3.2 HOT 1
- Deprecation on Ruby 3.2.2
- Compatibility Inquiry: pry-byebug 3.10.1 with Ruby 3.3.0
- Question: Is there a recommended way of requiring the gem for test but not CI?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pry-byebug.