-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
Thread hangs #69
Comments
Thanks! |
@deivid-rodriguez i saw on deivid-rodriguez/byebug#115 you said this was fixed... Is that in version 3.2.0 ? Which PR/commit did you fix it in? It's still hanging for me on my dev environment. Edit: lol changed the keyword to be byebug instead of binding.pry and it works |
Did I? When? I consider this as not fixed, that's why this issue is opened. |
I think im running into this. edit: defintely am. If run the capybara test and just have a
or even
I get the info on the console. I can't use my beloved pry.. I'm so lost :( fyi my whole gemfile
|
The solution to your problem is an easy one. Get rid of |
Doesn't work either way :( Added byebug hoping it might help some how Any other tips on how I might get around this? Having to puts everything I want to debug out is no fun |
You mean this happens using |
Using only
even if I completely remove the other from the system (pry without byebug or byebug without pry) also I'm using |
You can try two things:
|
No dice on 2.1.7 with patch get this error when running
both with pry and with byebug |
Did you remove |
Wait. IT WORKS with byebug by itself! but pry works neither way (with our without byebug) and thanks for taking to help me debug. I really appreciate it even if we dont figure it all the way out |
but its intermittent. sometimes it works sometimes it doesnt |
I never really posted an update to our situation but we ended up just removing byebug completely. Even though it has amazing features, it wasn't compatible with our cucumber suite. I wonder if it would have worked just putting byebug under the development env in the Gemfile and pry in the test one. I'll have to test it out when I have more time. |
@willscool So I ended up trying this again. Didn't want to but your information was very confusing. Nothing has changed:
@dezmathio Notice that this is |
So after fiddling with pry-byebug, pry and byebug alone. I must say this is problem of byebug. When pry-byebug is removed from the gemfile, it is reproducible just with byebug alone. Capybara-webkit hangs on:
Here is the Thread.list:
It makes sense. Capybara starts a thread to wait for a socket, but byebug stops everything, so the thread can never complete. |
I'm having the same issue on 3.3.0 in Capybara-webkit. |
I am also seeing the same issue with 3.3.0 in capybara-webkit 1.8.0 |
Also seeing this issue with 3.3.0 in capybara-webkit 1.7.1 |
Linking this the actual issue which seems to be inside Also, let's use reactions for dummy +1 comments! |
same issue, sad :( any progress, workarounds? I'm just switching to gem 'pry' when I need to debug feature specs, which is basically all of the time |
Nope. Feel free to help. |
It's still happening to me. I have an even more minimal test case:
Call |
Fixed via #142! |
See deivid-rodriguez/byebug#115
I have an example repo here: https://github.com/andrewfader/minimal_byebug_hang
The text was updated successfully, but these errors were encountered: