From: Nathaniel Talbott Date: 2002-03-16T09:18:23+09:00 Subject: RE: Debugger problem NAKAMURA, Hiroshi [mailto:nahi@keynauts.com] wrote: > trace_func is removed at at_exit. Workaround; > > 5 at_exit do > 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 > 9 a > 10 end This worked like a charm! RSN there will be support in Test::Unit for debugging tests run with at_exit. Ideally, we wouldn't need to debug our tests, but sometimes life just doesn't work that way :-) Thanks, Nathaniel <:((>< + - - | RoleModel Software, Inc. | EQUIP VI