⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (267 Bytes)
Bug #14577
» backtrace_bug.rb
francois (François Jacques)
, 03/05/2018 06:19 PM
class
Crash
<
RuntimeError
def
backtrace
IO
.
readlines
(
$0
)
end
end
puts
'Wait for it. Starting in 0.5 sec. Once the dots stop, kill the process with SIGKILL.'
sleep
0.5
loop
do
begin
raise
Crash
.
new
'boo!'
rescue
=>
e
putc
'.'
ensure
end
end
(1-1/1)
Loading...