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

byebug tends to get "stuck" in the debugger in Windows Terminal with tabs #795

Open
ariccio opened this issue Mar 5, 2021 · 2 comments
Open

Comments

@ariccio
Copy link

ariccio commented Mar 5, 2021

Problem description

There are a number of situations that cause byebug to totally softlock when using the debugger on windows. In Windows Terminal, if I attempt to use tab autocompletion, byebug can get totally stuck, with no way to input new text, ctrl + c break out of it, is unresponsive to hitting enter, or really anything. I'm usually forced to kill the entire process! This seems to happen only in the Windows Terminal, so it may be a bug there. It seems to happen moreso in a rails app. If you cannot EASILY reproduce, I'll investigate much deeper, it's something wrong with something else.

Expected behavior

Autocompletion working normally, or at least byebug not completely soft locking.

Actual behavior

Completely stuck in a debugger prompt.

Steps to reproduce the problem

  1. Start a rails app
  2. Hit a code path with a byebug
  3. Attempt to use tab autocompletion in the middle of some already entered text
  4. Try to do anything else
@MarcoBomfim
Copy link

This seems to happen not only with byebug, but with pry as well. Not sure if it's a byebug issue, although I'm also looking for a solution for this.

@wujibear
Copy link

wujibear commented Dec 2, 2021

I have to essentially close my terminal tab each time. Such a pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants