-
-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show valid break point lines #393
show valid break point lines #393
Conversation
@ko1 Thanks so much, this is a great usability improvement indeed! I added some extra changes so that byebug linters and tests are happy, but it looks great. This will be released with the next version! ❤️ |
I'll probably add a few extra changes so that the surrounding code respects the user's |
And stop passing it around.
Since the auto calculated range is always valid.
This probably sounds like a dumb question... I've cloned the latest byebug-master from GitHub. How do I build/install it? I'm used to 'gem install' but that's about it... TIA. |
There may be an easier way, but normally I do the following, which does give you a gem file in case whatever... From the repo folder:
Reference - RubyGems 2.7.4 Command Reference, same info several places on the web... |
@stevewi Does your application have a |
My app does have a Gemfile but I also use byebug to debug one-off's and test jigs. I installed the current master as a local gem using the method MSP-Greg described above. When all this gets resolved, I'll install byebug as a global gem again. The only other thing I had to change on one system is a modification to my PATH on one Linux system to include $HOME/.gems/bin. My problem, not yours :-) Thanks! |
This PR is for usability. Show valid break point lines when
break
command fails.Like that:
It is hard to find out which lines are valid or not.
I'm not sure it is correct way to output messages, but please consider this idea.
Thanks,
Koichi