From: nobu.nokada@... Date: 2002-03-15T15:25:04+09:00 Subject: Re: Debugger problem Hi, At Fri, 15 Mar 2002 10:50:27 +0900, NAKAMURA, Hiroshi wrote: > 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 -- Nobu Nakada