End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
DEBUGGER__.suspend
suspend
lib/debug.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/debug.rb, line 954
def suspend
MUTEX.synchronize do
make_thread_list
for th, in @thread_list
next if th == Thread.current
context(th).set_suspend
end
end
# Schedule other threads to suspend as soon as possible.
Thread.pass
end
No documentation available