You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works well normally, however when an exception occurs within a thread, the Thread exits silently rather than dropping into pry.
require'pry-rescue'require'pry'# Test 1. Pry-rescue works.0/0# Test 2. Pry-rescue doesn't drop into pry.Thread.newdoputs"1st crash thread starting: #{Thread.current}"0/0puts"1st crash thread finishing: #{Thread.current}"end# Test 3. Binding.pry does drop into pry.Thread.newdoputs"2nd crash thread starting: #{Thread.current}"begin0/0rescue=>ebinding.pryendputs"2nd crash thread finishing: #{Thread.current}"endsleep1untilThread.list.count < 2puts"main thread finishing"
The text was updated successfully, but these errors were encountered:
Everything works well normally, however when an exception occurs within a thread, the Thread exits silently rather than dropping into pry.
The text was updated successfully, but these errors were encountered: