Giter VIP home page Giter VIP logo

Comments (10)

mooreniemi avatar mooreniemi commented on May 31, 2024

i found that removing pry-nav from my gemfile returned functionality to next. see also: #9

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

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.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

@zw963 I've reported the bug about the duplicate events to ruby-core: https://bugs.ruby-lang.org/issues/10449

from pry-byebug.

zw963 avatar zw963 commented on May 31, 2024

Thank you for you reply !

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

@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.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

@davidrunger Could you confirm this issue is solved in Ruby 2.2.0?

from pry-byebug.

davidrunger avatar davidrunger commented on May 31, 2024

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.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

Thanks for testing! I'll go ahead and close this, then.

from pry-byebug.

zw963 avatar zw963 commented on May 31, 2024

Thanks a lot for all.

from pry-byebug.

deivid-rodriguez avatar deivid-rodriguez commented on May 31, 2024

@zw963 No problem! 😄

from pry-byebug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.