From: GOTO Kentaro Date: 2002-09-18T17:09:47+09:00 Subject: Re: Syntax errors with webrick 1.2. head of cvs with Div At Wed, 18 Sep 2002 15:19:17 +0900, NAKAMURA, Hiroshi wrote: > I must misunderstood your intention. The fix I made is > "No report when the exception is not marked as > to-be-caught in debugger." > But you might want > "No report when the exception is not rescued in Ruby > script." > > With the current debugging API, if I understand correctly, > we cannot do the latter. No one can know whether the > exception will be caught or not without throwing it. Well, I think that a debugger should whenever an exception happened. So the current spec. of debug.rb doesn't have to be changed IMHO. If a library (say x.rb) would rescue an exception and that is an intended action, x.rb can explain to a user through stderr according to debug level, e.g., $-d, $-w etc. So if that is needed I can add code to print such log message when LoadError is rescued in webrick/utils.rb. That was what I'd like to say. -- Gotoken