# File debug.rb, line 83
def check_suspend
while MUTEX.synchronize {
if @suspend_next
DEBUGGER__.waiting.push Thread.current
@suspend_next = false
true
end
}
end
# File debug.rb, line 71
def clear_suspend
@suspend_next = false
end
# File debug.rb, line 31
def readline(prompt, hist)
Readline::readline(prompt, hist)
end
# File debug.rb, line 67
def set_suspend
@suspend_next = true
end
Commenting is here to help enhance the documentation. For example, sample code, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.