Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`next` command just before `debugger do:` method

Open
#874 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
devtools

Research direction

Reproduce the issue with the provided Ruby snippet and the next command, then inspect how debugger do: enters a new subsession and cancels stepping. Compare the behavior with until and fin. Done means next from line 1 stops at line 2 instead of continuing past it.

Written by the indexing model from the issue text.

Description

bug

(same as until and fin)

debugger do: 'p 1'
p 1

Stopping at the line 1, type next and it doesn't stop at the line 2.

This is because debugger do: method entering the new subsession and it cancels next command stepping feature, and continue just after p 1 debug command.

It is clearly a bug but now I have no good solution, so I left this ticket.

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.