class DEBUGGER__::Config

def enable_sigdump sig

def enable_sigdump sig
mp_sig_prev = trap(sig) do
= []
<< "Simple sigdump on #{Process.pid}"
ad.list.each{|th|
r << "Thread: #{th}"
.backtrace.each{|loc|
str << "  #{loc}"
r << ''
RR.puts str