From: Nathaniel Talbott Date: 2003-01-16T09:51:16+09:00 Subject: Re: 1.8.0 Preview and Test::Unit 0.1.6 John Carter said: > Here is another one for you I have just found. > > Running a unit test with > ruby -d > I get... > > Exception `NameError' at > /usr/local/ruby-1.8.0/lib/ruby/site_ruby/1.8/test/unit.rb:164 - > uninitialized constant DEBUGGER__ > /usr/local/ruby-1.8.0/lib/ruby/site_ruby/1.8/test/unit.rb:164: > uninitialized constant DEBUGGER__ (NameError) > from /usr/local/ruby-1.8.0/lib/ruby/site_ruby/1.8/test/unit.rb:162 > > Which comes from this line in unit.rb > # We can't debug tests run with at_exit unless we add the > following: > set_trace_func DEBUGGER__.context.method(:trace_func).to_proc if $DEBUG Youch! I'll check that out as soon as I get my machine back from the service depot. Thanks for pointing it out. Nathaniel