-
Notifications
You must be signed in to change notification settings - Fork 127
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
Keystrokes between debugger
sessions seem to persist
#1098
Comments
debugger
sessions seem to persist
wow I see... Should we consume all input before REPL? |
advices are very welcome If someone knows a techniques about it on other implementations |
Hmm possibly, is that considered unconventional? Might be worth looking at how Or maybe just ignore previous REPL if in-between sessions. |
The source of the issue: Lines 1146 to 1152 in 0b77e82
|
I too recently encountered this same issue. makes it hard to clear extra lines in the console |
Been seeing the same issue. This didn't use to be the case. Maybe we can track down when this started? |
@ko1 What do you think about an option where Rails could turn off this repeater behavior? Right now ruby/debug is not all that usable in Rails because of this issue. |
Your environment
ruby -v
: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]rdbg -v
: rdbg 1.9.2Describe the bug
After hitting a
debugger
break point once, and usingc
to move on, if you hitEnter
before the next break point, the next breakpoint is skipped.To Reproduce
Script:
Without hitting
Enter
:1.mov
With hitting
Enter
during the firstsleep
:2.mov
Expected behavior
The execution should stop at the next breakpoint regardless of what keystrokes are used between breakpoints.
Additional context
None.
The text was updated successfully, but these errors were encountered: