From: "NAKAMURA, Hiroshi" Date: 2002-03-15T18:57:30+09:00 Subject: Re: Debugger problem Hi, > From: nobu.nokada@softhome.net > Sent: Friday, March 15, 2002 3:25 PM > > 6 set_trace_func proc { |event, file, line, id, binding, klass, *rest| > > 7 DEBUGGER__.context.trace_func event, file, line, id, binding, klass > > 8 } if $DEBUG > > Shorter, this may also work? > > set_trace_func DEBUGGER__.context.method(:trace_func) if $DEBUG trace_func needs to be a Proc...