Skip to content
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

Improve help/show_cmds message during debugger integration #693

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Aug 23, 2023

  1. When in the irb:rdbg session, IRB should pass help command to the debugger, instead of invoking ri.
  2. show_cmds should update its content when in the irb:rdbg session:
    • It should remove the old Debugging session as they're not useful in that context.
    • It should also remove help due to the change of 1)
    • Finally, I think it's better to append debug's help message at the end of its output, so users don't need to learn when to use show_cmds and when to use help.

@st0012 st0012 added the enhancement New feature or request label Aug 23, 2023
@st0012 st0012 requested a review from a team August 23, 2023 12:22
@st0012 st0012 self-assigned this Aug 23, 2023
@st0012 st0012 changed the title Improve help message during debugger integration Improve help/show_cmds message during debugger integration Aug 23, 2023
@st0012 st0012 force-pushed the improve-help-message-during-debugger-integration branch from f07eb5f to e5e8c6d Compare August 29, 2023 16:07
@st0012 st0012 force-pushed the improve-help-message-during-debugger-integration branch from e5e8c6d to af72af0 Compare August 29, 2023 17:49
@st0012 st0012 requested a review from tompng August 29, 2023 17:49
@tompng tompng merged commit 4029c2e into master Aug 29, 2023
47 checks passed
@tompng tompng deleted the improve-help-message-during-debugger-integration branch August 29, 2023 18:08
matzbot pushed a commit to ruby/ruby that referenced this pull request Aug 29, 2023
integration
(ruby/irb#693)

* `help` should display debugger's help during irb:rdbg session

* Update `show_cmds`'s output when in irb:rdbg session

ruby/irb@4029c2e564
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants