From: "NAKAMURA, Hiroshi" Date: 2002-09-18T15:03:53+09:00 Subject: Re: Syntax errors with webrick 1.2. head of cvs with Div Hi, > From: GOTO Kentaro [mailto:gotoken@notwork.org] > Sent: Monday, September 16, 2002 4:05 PM > By the way, within the debug.rb, any errors are reported even if that > would be rescued by the target script. Should some messages to relax > user be print? Sure. I commited this change to 1.7. Here is a patch for 1.6. Index: lib/debug.rb =================================================================== RCS file: /src/ruby/lib/debug.rb,v retrieving revision 1.20.2.6 diff -u -2 -p -r1.20.2.6 debug.rb --- lib/debug.rb 2002/03/30 13:35:47 1.20.2.6 +++ lib/debug.rb 2002/09/18 05:58:10 @@ -662,5 +662,4 @@ EOHELP def excn_handle(file, line, id, binding) - stdout.printf "%s:%d: `%s' (%s)\n", file, line, $!, $!.type if $!.type <= SystemExit set_trace_func nil @@ -669,4 +668,5 @@ EOHELP if @catch and ($!.type.ancestors.find { |e| e.to_s == @catch }) + stdout.printf "%s:%d: `%s' (%s)\n", file, line, $!, $!.type fs = @frames.size tb = caller(0)[-fs..-1] Regards, // NaHi