debug icon indicating copy to clipboard operation
debug copied to clipboard

why my debugger always hang?

Open laptopmutia opened this issue 3 years ago • 1 comments

Ruby 3.1.2

rails (7.0.3.1) debug (1.6.1) irb (>= 1.3.6) reline (>= 0.3.1)

When I use debugger then write some code like this

(ruby) request.env["omniauth.auth"]

it hang and never do anything not even throwing error but sometimes it returning syntax error

until I manually kill the process

laptopmutia avatar Aug 12 '22 14:08 laptopmutia

It may be caused by https://github.com/ruby/debug/issues/725, which has been fixed in 1.6.2. Can you upgrade and try again?

st0012 avatar Aug 12 '22 14:08 st0012

Same issue with 1.6.2 - simple method call hangs for ~1 minute

slayer avatar Aug 12 '22 20:08 slayer

+1. Hanging and crashing happens more than it doesn't.

prostko avatar Aug 25 '22 17:08 prostko

Can you provide a demo app that reproduces the crashing?

st0012 avatar Aug 25 '22 18:08 st0012

for me 1.6.2 fixed my problem

On Fri, Aug 26, 2022, 1:20 AM Stan Lo @.***> wrote:

Can you provide a demo app that reproduces the crashing?

— Reply to this email directly, view it on GitHub https://github.com/ruby/debug/issues/735#issuecomment-1227612408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKFOTMMQNM4YZ4TJVS33YLV262NDANCNFSM56L5G7NQ . You are receiving this because you authored the thread.Message ID: @.***>

laptopmutia avatar Aug 27 '22 02:08 laptopmutia

can we close this issue?

ko1 avatar Sep 16 '22 08:09 ko1

yea

On Fri, Sep 16, 2022, 3:15 PM Koichi Sasada @.***> wrote:

can we close this issue?

— Reply to this email directly, view it on GitHub https://github.com/ruby/debug/issues/735#issuecomment-1249060456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKFOTOCNDABAE5HVVE6223V6QUDBANCNFSM56L5G7NQ . You are receiving this because you authored the thread.Message ID: @.***>

laptopmutia avatar Sep 16 '22 08:09 laptopmutia

@ko1 I'm still experiencing this issue pretty frequently. I'm happy to open a separate issue when I get some time and add a complete demo app and steps to reproduce.

Thanks for your work on this 👍

prostko avatar Sep 16 '22 18:09 prostko

@prostko Thank you and sorry bothering you.

ko1 avatar Sep 16 '22 21:09 ko1

this issues seems back again, I'm wondering even though I have use 1.6.2

did it has issue with rack:timeout?

laptopmutia avatar Oct 14 '22 16:10 laptopmutia

Macbook Air M2 here chiming in - version 1.7.1.

I am getting

"No live threads left. Deadlock?\n5 threads, 5 sleeps current...

when using binding.break

onesneakymofo avatar Jan 12 '23 21:01 onesneakymofo

Also seeing this. M1 Max, version 1.8.0

Seeing same as @onesneakymofo

drewlustro avatar Aug 14 '23 22:08 drewlustro